summaryrefslogtreecommitdiffstats
path: root/modules.d/dnbd3-rootfs/hooks
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-21 12:16:35 +0100
committerSimon Rettberg2026-01-21 12:16:35 +0100
commitdcaa3a822f2a6b824a15740e299eb9d5734600b2 (patch)
tree5f4e8539ba5ddedbbb3bb626ed928207111ef567 /modules.d/dnbd3-rootfs/hooks
parentTry to fix cp over dangling symlink (diff)
downloadsystemd-init-master.tar.gz
systemd-init-master.tar.xz
systemd-init-master.zip
[dnbd3-rootfs] Turn hook into serviceHEADmaster
For some reason, after updating to dracut-ng, the service files don't get copied over anymore, while the dnbd3-client binary does. *shrug* Maybe it works better as a service, instead of a hook....
Diffstat (limited to 'modules.d/dnbd3-rootfs/hooks')
-rwxr-xr-xmodules.d/dnbd3-rootfs/hooks/s3-copy-dracut-systemd-files-into-newroot.sh (renamed from modules.d/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh)2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules.d/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh b/modules.d/dnbd3-rootfs/hooks/s3-copy-dracut-systemd-files-into-newroot.sh
index 3eae12f0..11f6500a 100755
--- a/modules.d/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh
+++ b/modules.d/dnbd3-rootfs/hooks/s3-copy-dracut-systemd-files-into-newroot.sh
@@ -21,3 +21,5 @@ for dir in /run/systemd/system /lib/systemd/system /etc/systemd/system; do
echo "Failed to link \"$source_path\" to \"$target_path\"." >&2
done
done
+
+exit 0