summaryrefslogtreecommitdiffstats
path: root/builder/hd-boot/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/hd-boot/module-setup.sh')
-rwxr-xr-xbuilder/hd-boot/module-setup.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/builder/hd-boot/module-setup.sh b/builder/hd-boot/module-setup.sh
index 136dbe74..04cf3581 100755
--- a/builder/hd-boot/module-setup.sh
+++ b/builder/hd-boot/module-setup.sh
@@ -33,8 +33,7 @@ install() {
#inst_hook pre-udev 40 "$moddir/hooks/gen-netfiles.sh" # Must be 40, because dracut runs as 50 and 60 net-genrules.sh
# mount hooks
- inst_hook mount 11 "$moddir/move-hd-root_to_sysroot.sh" # Note priority 11, due to dnbd3-rootfs runs 10 mount sysroot.
-
+ inst_hook pre-pivot 10 "$moddir/hooks/move-hd-root_to_sysroot.sh" # Note priority 11, due to dnbd3-rootfs runs 10 mount sysroot.
# install buid-in kernel parameters
for _i in "$moddir/etc/cmdline.d/"*.conf; do