summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmodules.d/99base/module-setup.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh
index f217ccbb..52ce4004 100755
--- a/modules.d/99base/module-setup.sh
+++ b/modules.d/99base/module-setup.sh
@@ -41,11 +41,10 @@ install() {
mkdir -p ${initdir}/tmp
- inst_multiple switch_root || dfatal "Failed to install switch_root"
-
inst_simple "$moddir/dracut-lib.sh" "/lib/dracut-lib.sh"
if ! dracut_module_included "systemd"; then
+ inst_multiple switch_root || dfatal "Failed to install switch_root"
inst_hook cmdline 10 "$moddir/parse-root-opts.sh"
fi