diff options
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/copy-openslx-configuration-into-newroot.sh (renamed from builder/dnbd3-rootfs/hooks/pre-pivot/copy-openslx-configuration-into-newroot.sh) | 0 | ||||
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/enable-sysrq.sh (renamed from builder/dnbd3-rootfs/hooks/cmdline/enable-sysrq.sh) | 0 | ||||
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/fetch-config.sh (renamed from builder/dnbd3-rootfs/hooks/pre-mount/fetch-config.sh) | 0 | ||||
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/load-custom-kernel-modules.sh (renamed from builder/dnbd3-rootfs/hooks/pre-udev/load-custom-kernel-modules.sh) | 0 | ||||
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/mount-root-device.sh (renamed from builder/dnbd3-rootfs/hooks/mount/mount-root-device.sh) | 0 | ||||
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/mount-tmp.sh (renamed from builder/dnbd3-rootfs/hooks/pre-pivot/mount-tmp.sh) | 0 | ||||
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/prepare-kernel-command-line-parameter.sh (renamed from builder/dnbd3-rootfs/hooks/cmdline/prepare-kernel-command-line-parameter.sh) | 0 | ||||
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/prepare-root-partition.sh (renamed from builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh) | 0 | ||||
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/set-dracut-environment-variables.sh (renamed from builder/dnbd3-rootfs/hooks/cmdline/set-dracut-environment-variables.sh) | 0 | ||||
| -rwxr-xr-x | builder/dnbd3-rootfs/module-setup.sh | 22 |
10 files changed, 11 insertions, 11 deletions
diff --git a/builder/dnbd3-rootfs/hooks/pre-pivot/copy-openslx-configuration-into-newroot.sh b/builder/dnbd3-rootfs/hooks/copy-openslx-configuration-into-newroot.sh index fd00593c..fd00593c 100755 --- a/builder/dnbd3-rootfs/hooks/pre-pivot/copy-openslx-configuration-into-newroot.sh +++ b/builder/dnbd3-rootfs/hooks/copy-openslx-configuration-into-newroot.sh diff --git a/builder/dnbd3-rootfs/hooks/cmdline/enable-sysrq.sh b/builder/dnbd3-rootfs/hooks/enable-sysrq.sh index 30b12ea0..30b12ea0 100755 --- a/builder/dnbd3-rootfs/hooks/cmdline/enable-sysrq.sh +++ b/builder/dnbd3-rootfs/hooks/enable-sysrq.sh diff --git a/builder/dnbd3-rootfs/hooks/pre-mount/fetch-config.sh b/builder/dnbd3-rootfs/hooks/fetch-config.sh index 299e3135..299e3135 100755 --- a/builder/dnbd3-rootfs/hooks/pre-mount/fetch-config.sh +++ b/builder/dnbd3-rootfs/hooks/fetch-config.sh diff --git a/builder/dnbd3-rootfs/hooks/pre-udev/load-custom-kernel-modules.sh b/builder/dnbd3-rootfs/hooks/load-custom-kernel-modules.sh index 02d697d3..02d697d3 100755 --- a/builder/dnbd3-rootfs/hooks/pre-udev/load-custom-kernel-modules.sh +++ b/builder/dnbd3-rootfs/hooks/load-custom-kernel-modules.sh diff --git a/builder/dnbd3-rootfs/hooks/mount/mount-root-device.sh b/builder/dnbd3-rootfs/hooks/mount-root-device.sh index a842d9e3..a842d9e3 100755 --- a/builder/dnbd3-rootfs/hooks/mount/mount-root-device.sh +++ b/builder/dnbd3-rootfs/hooks/mount-root-device.sh diff --git a/builder/dnbd3-rootfs/hooks/pre-pivot/mount-tmp.sh b/builder/dnbd3-rootfs/hooks/mount-tmp.sh index c1366877..c1366877 100755 --- a/builder/dnbd3-rootfs/hooks/pre-pivot/mount-tmp.sh +++ b/builder/dnbd3-rootfs/hooks/mount-tmp.sh diff --git a/builder/dnbd3-rootfs/hooks/cmdline/prepare-kernel-command-line-parameter.sh b/builder/dnbd3-rootfs/hooks/prepare-kernel-command-line-parameter.sh index 4c388178..4c388178 100755 --- a/builder/dnbd3-rootfs/hooks/cmdline/prepare-kernel-command-line-parameter.sh +++ b/builder/dnbd3-rootfs/hooks/prepare-kernel-command-line-parameter.sh diff --git a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh index 3b96239b..3b96239b 100755 --- a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh +++ b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh diff --git a/builder/dnbd3-rootfs/hooks/cmdline/set-dracut-environment-variables.sh b/builder/dnbd3-rootfs/hooks/set-dracut-environment-variables.sh index a934731e..a934731e 100755 --- a/builder/dnbd3-rootfs/hooks/cmdline/set-dracut-environment-variables.sh +++ b/builder/dnbd3-rootfs/hooks/set-dracut-environment-variables.sh diff --git a/builder/dnbd3-rootfs/module-setup.sh b/builder/dnbd3-rootfs/module-setup.sh index c39119ea..2f00f906 100755 --- a/builder/dnbd3-rootfs/module-setup.sh +++ b/builder/dnbd3-rootfs/module-setup.sh @@ -102,9 +102,9 @@ install() { # TODO analyze qemu-nbd pivot-root bug! inst_script "$moddir/services/dnbd3-generator.sh" \ $systemdutildir/system-generators/dnbd3-generator - inst "$moddir/hooks/pre-mount/prepare-root-partition.sh" \ + inst "$moddir/hooks/prepare-root-partition.sh" \ /sbin/dnbd3root - inst "$moddir/hooks/pre-mount/fetch-config.sh" \ + inst "$moddir/hooks/fetch-config.sh" \ /sbin/fetch-config #region old approach #inst_simple "${moddir}/services/dnbd3root.service" \ @@ -122,10 +122,10 @@ install() { else # get the openslx config from the servers configured in the kernel command # line (${SLX_SERVER}/${SLX_SERVER_BASE}/config) - inst_hook pre-mount 00 "$moddir/hooks/pre-mount/fetch-config.sh" + inst_hook pre-mount 00 "$moddir/hooks/fetch-config.sh" # make the final blockdevice for the root system (dnbd3 -> qemu-nbd -> # device-mapper) - inst_hook pre-mount 10 "$moddir/hooks/pre-mount/prepare-root-partition.sh" + inst_hook pre-mount 10 "$moddir/hooks/prepare-root-partition.sh" fi # region binaries @@ -140,17 +140,17 @@ install() { # region hooks - inst_hook cmdline 00 "$moddir/hooks/cmdline/enable-sysrq.sh" - inst_hook cmdline 10 "$moddir/hooks/cmdline/prepare-kernel-command-line-parameter.sh" - inst_hook cmdline 90 "$moddir/hooks/cmdline/set-dracut-environment-variables.sh" + inst_hook cmdline 00 "$moddir/hooks/enable-sysrq.sh" + inst_hook cmdline 10 "$moddir/hooks/prepare-kernel-command-line-parameter.sh" + inst_hook cmdline 90 "$moddir/hooks/set-dracut-environment-variables.sh" # load nbd.ko, dnbd3.ko - inst_hook pre-udev 00 "$moddir/hooks/pre-udev/load-custom-kernel-modules.sh" + inst_hook pre-udev 00 "$moddir/hooks/load-custom-kernel-modules.sh" - inst_hook mount 10 "$moddir/hooks/mount/mount-root-device.sh" + inst_hook mount 10 "$moddir/hooks/mount-root-device.sh" - inst_hook pre-pivot 00 "$moddir/hooks/pre-pivot/copy-openslx-configuration-into-newroot.sh" - #inst_hook pre-pivot 00 "$moddir/hooks/pre-pivot/mount-tmp.sh" + inst_hook pre-pivot 00 "$moddir/hooks/copy-openslx-configuration-into-newroot.sh" + #inst_hook pre-pivot 00 "$moddir/hooks/mount-tmp.sh" # endregion |
