From: Harald Hoyer Date: Mon, 12 Aug 2013 10:57:13 +0000 (+0200) Subject: base: don't install switch_root, if systemd is used X-Git-Tag: 032~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=109283a8830f7b9c1d4bb6b4852f1bff0d36bf30;p=thirdparty%2Fdracut.git base: don't install switch_root, if systemd is used --- diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh index f217ccbbc..52ce40042 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