base/module-setup.sh: merge systemd conditional

master
Harald Hoyer 2015-03-19 10:00:48 +01:00
parent dea0634544
commit 363469d757
1 changed files with 1 additions and 5 deletions

View File

@ -43,15 +43,11 @@ install() {
mkdir -p ${initdir}/tmp

inst_simple "$moddir/dracut-lib.sh" "/lib/dracut-lib.sh"
mkdir -p "${initdir}/var"

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

mkdir -p "${initdir}/var"

if ! dracut_module_included "systemd"; then
inst_multiple -o $systemdutildir/systemd-timestamp
fi