base/module-setup.sh: merge systemd conditional
parent
dea0634544
commit
363469d757
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue