summaryrefslogtreecommitdiffstats
path: root/modules.d/80test-root/module-setup.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 14:01:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 14:01:35 +0000
commite6f2eaf47a177a8eca054d1d70a1b6287e8c3521 (patch)
treec5719e819a9e37df4b54affd61438f382ec38a8f /modules.d/80test-root/module-setup.sh
parentAdding upstream version 060+5. (diff)
downloaddracut-e6f2eaf47a177a8eca054d1d70a1b6287e8c3521.tar.xz
dracut-e6f2eaf47a177a8eca054d1d70a1b6287e8c3521.zip
Adding upstream version 102.upstream/102
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules.d/80test-root/module-setup.sh')
-rwxr-xr-xmodules.d/80test-root/module-setup.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/modules.d/80test-root/module-setup.sh b/modules.d/80test-root/module-setup.sh
index 24605c5..64d618f 100755
--- a/modules.d/80test-root/module-setup.sh
+++ b/modules.d/80test-root/module-setup.sh
@@ -6,10 +6,17 @@ check() {
}
depends() {
- echo "debug"
+ echo debug
}
install() {
+ # do not compress, do not strip
+ export compress="cat"
+ export do_strip="no"
+ export do_hardlink="no"
+ export early_microcode="no"
+ export hostonly_cmdline="no"
+
inst_simple /etc/os-release
inst_multiple mkdir ln dd stty mount poweroff umount setsid sync
@@ -23,5 +30,10 @@ install() {
ln -s dracut-util "${initdir}/usr/bin/dracut-getarg"
ln -s dracut-util "${initdir}/usr/bin/dracut-getargs"
+ inst_script "${dracutbasedir}/modules.d/99base/dracut-lib.sh" "/lib/dracut-lib.sh"
+ inst_script "${dracutbasedir}/modules.d/99base/dracut-dev-lib.sh" "/lib/dracut-dev-lib.sh"
+
+ inst_script "$moddir/test-init.sh" "/sbin/init"
+
inst_multiple -o plymouth
}