base: in systemd mode parse-root-opts.sh is in the services

master
Harald Hoyer 2013-03-06 17:10:50 +01:00
parent ce862de624
commit a9c7dc74c4
1 changed files with 3 additions and 7 deletions

View File

@ -44,14 +44,10 @@ install() {

inst_simple "$moddir/dracut-lib.sh" "/lib/dracut-lib.sh"

## save host_devs which we need bring up
inst_hook cmdline 00 "$moddir/wait-host-devs.sh"
for _dev in ${host_devs[@]}; do
_pdev=$(get_persistent_dev $_dev)
[ -n "$_pdev" ] && echo $_pdev >> $initdir/etc/host_devs
done

if ! dracut_module_included "systemd"; then
inst_hook cmdline 10 "$moddir/parse-root-opts.sh"
fi

mkdir -p "${initdir}/var"
[ -x /lib/systemd/systemd-timestamp ] && inst /lib/systemd/systemd-timestamp
if [[ $realinitpath ]]; then