From: Harald Hoyer Date: Tue, 30 Jul 2013 10:36:12 +0000 (+0200) Subject: base: hard depend on systemd, if system was started by systemd X-Git-Tag: 031~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71bb2ecd79ca72ca6a82a43b37c3d34889c8099e;p=platform%2Fupstream%2Fdracut.git base: hard depend on systemd, if system was started by systemd --- diff --git a/dracut.conf.d/fedora.conf.example b/dracut.conf.d/fedora.conf.example index c10dca37..afe6dee2 100644 --- a/dracut.conf.d/fedora.conf.example +++ b/dracut.conf.d/fedora.conf.example @@ -12,5 +12,4 @@ systemdutildir=/usr/lib/systemd systemdsystemunitdir=/usr/lib/systemd/system systemdsystemconfdir=/etc/systemd/system udevdir=/usr/lib/udev -add_dracutmodules+=" systemd " hostonly="yes" diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh index b8f1ef36..0b7c1fed 100755 --- a/modules.d/99base/module-setup.sh +++ b/modules.d/99base/module-setup.sh @@ -8,6 +8,7 @@ check() { depends() { echo udev-rules + systemctl --system --no-pager &>/dev/null && echo systemd return 0 }