summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
authorjandob2016-03-11 17:13:27 +0100
committerjandob2016-03-11 17:13:27 +0100
commitf013c5db76cd701495f676ec51151c3de8b5518a (patch)
treedba39eb96bad9521865ecfb5425b9b55d35031a7 /builder
parentMerge branch 'master' of git.openslx.org:openslx-ng/systemd-init (diff)
downloadsystemd-init-f013c5db76cd701495f676ec51151c3de8b5518a.tar.gz
systemd-init-f013c5db76cd701495f676ec51151c3de8b5518a.tar.xz
systemd-init-f013c5db76cd701495f676ec51151c3de8b5518a.zip
fix
Diffstat (limited to 'builder')
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh b/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh
index 874f5912..16d85835 100755
--- a/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh
+++ b/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh
@@ -16,6 +16,7 @@ mount --options bind / "$temporary_directory_path"
cp --recursive --no-target-directory "$temporary_directory_path" /run/initramfs
umount "$temporary_directory_path"
rm --dir "$temporary_directory_path"
+}
exceptions.catch
{
logging.warn "Failed to copy initramfs to /run/initramfs, shutdown hooks" \