mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
test: make sure to include all haveged unit files
Recent versions of haveged relies on haveged-switch-root.service too.
This commit is contained in:
parent
50dbb118c9
commit
ce380c2f09
|
@ -1431,12 +1431,14 @@ install_plymouth() {
|
|||
}
|
||||
|
||||
install_haveged() {
|
||||
# If haveged is installed and probably included in initrd, it needs to be
|
||||
# If haveged is installed, it's probably included in initrd and needs to be
|
||||
# installed in the image too.
|
||||
if [ -x /usr/sbin/haveged ]; then
|
||||
dinfo "Install haveged files"
|
||||
inst /usr/sbin/haveged
|
||||
inst /usr/lib/systemd/system/haveged.service
|
||||
for u in /usr/lib/systemd/system/haveged*; do
|
||||
inst $u
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue