summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/openslx_tmp_format
diff options
context:
space:
mode:
authorJonathan Bauer2018-03-06 14:44:17 +0100
committerJonathan Bauer2018-03-06 14:44:17 +0100
commitfe2c7424b019136abdfade69f50fc5c47c98e812 (patch)
tree7f02b50f48ef6c526ac0ef06369a17a2b940daea /builder/modules.d/openslx_tmp_format
parentnew module to mount newroot's /tmp pre-pivot (diff)
downloadsystemd-init-fe2c7424b019136abdfade69f50fc5c47c98e812.tar.gz
systemd-init-fe2c7424b019136abdfade69f50fc5c47c98e812.tar.xz
systemd-init-fe2c7424b019136abdfade69f50fc5c47c98e812.zip
fixes
Diffstat (limited to 'builder/modules.d/openslx_tmp_format')
-rwxr-xr-xbuilder/modules.d/openslx_tmp_format/module-setup.sh4
-rwxr-xr-xbuilder/modules.d/openslx_tmp_format/scripts/openslx_tmp_format.sh (renamed from builder/modules.d/openslx_tmp_format/scripts/format_openslx_tmp.sh)0
2 files changed, 1 insertions, 3 deletions
diff --git a/builder/modules.d/openslx_tmp_format/module-setup.sh b/builder/modules.d/openslx_tmp_format/module-setup.sh
index c20eb1dd..551d2d8e 100755
--- a/builder/modules.d/openslx_tmp_format/module-setup.sh
+++ b/builder/modules.d/openslx_tmp_format/module-setup.sh
@@ -9,8 +9,6 @@ depends() {
echo dnbd3-rootfs
}
install() {
- # must be *after* the download of the openslx config
- # which is currently 00-fetch-config.sh
- inst_hook pre-mount 10 "$moddir/scripts/format_openslx_tmp.sh"
+ inst_hook pre-pivot 20 "$moddir/scripts/openslx_tmp_format.sh"
inst_multiple mkfs.xfs mkfs.ext4
}
diff --git a/builder/modules.d/openslx_tmp_format/scripts/format_openslx_tmp.sh b/builder/modules.d/openslx_tmp_format/scripts/openslx_tmp_format.sh
index 26b6cb81..26b6cb81 100755
--- a/builder/modules.d/openslx_tmp_format/scripts/format_openslx_tmp.sh
+++ b/builder/modules.d/openslx_tmp_format/scripts/openslx_tmp_format.sh