base: hard depend on systemd, if system was started by systemd

This commit is contained in:
Harald Hoyer 2013-07-30 12:36:12 +02:00
parent 6e0348f33b
commit 71bb2ecd79
2 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,4 @@ systemdutildir=/usr/lib/systemd
systemdsystemunitdir=/usr/lib/systemd/system systemdsystemunitdir=/usr/lib/systemd/system
systemdsystemconfdir=/etc/systemd/system systemdsystemconfdir=/etc/systemd/system
udevdir=/usr/lib/udev udevdir=/usr/lib/udev
add_dracutmodules+=" systemd "
hostonly="yes" hostonly="yes"

View File

@ -8,6 +8,7 @@ check() {
depends() { depends() {
echo udev-rules echo udev-rules
systemctl --system --no-pager &>/dev/null && echo systemd
return 0 return 0
} }