diff options
| author | torben | 2016-03-01 13:40:50 +0100 |
|---|---|---|
| committer | torben | 2016-03-01 13:40:50 +0100 |
| commit | c4500caae2d4611f2e3c03010378be84d0c2d70d (patch) | |
| tree | 27c19654c6290d714593828122d39b8de199faee /builder | |
| parent | Make slx configuration file name editable. (diff) | |
| download | systemd-init-c4500caae2d4611f2e3c03010378be84d0c2d70d.tar.gz systemd-init-c4500caae2d4611f2e3c03010378be84d0c2d70d.tar.xz systemd-init-c4500caae2d4611f2e3c03010378be84d0c2d70d.zip | |
Scope.
Diffstat (limited to 'builder')
| -rw-r--r-- | builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh | 3 |
1 files changed, 2 insertions, 1 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 fbc2c1e0..f8670a09 100644 --- a/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh +++ b/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh @@ -36,7 +36,8 @@ done temporary_directory_path="$(mktemp --directory)" 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" +umount "$temporary_directory_path" +rm --dir "$temporary_directory_path" ) || exit $? exceptions.deactivate # region vim modline |
