mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-26 16:25:20 +03:00
base: hard depend on systemd, if system was started by systemd
This commit is contained in:
parent
6e0348f33b
commit
71bb2ecd79
@ -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"
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user