rootfs-block: in systemd mode, functionality is in the dracut services

master
Harald Hoyer 2013-03-06 17:04:00 +01:00
parent e8f7ea6794
commit 2673ff1932
1 changed files with 5 additions and 4 deletions

View File

@ -23,7 +23,6 @@ check() {
echo "root.journaldev=$journaldev" >> "${initdir}/etc/cmdline.d/95root-jurnaldev.conf"
fi
return 0

}

depends() {
@ -32,8 +31,10 @@ depends() {

install() {
dracut_install umount
inst_hook cmdline 95 "$moddir/parse-block.sh"
inst_hook pre-udev 30 "$moddir/block-genrules.sh"
inst_hook mount 99 "$moddir/mount-root.sh"
if ! dracut_module_included "systemd"; then
inst_hook cmdline 95 "$moddir/parse-block.sh"
inst_hook pre-udev 30 "$moddir/block-genrules.sh"
inst_hook mount 99 "$moddir/mount-root.sh"
fi
}