diff options
author | Franck Bui <fbui@suse.com> | 2021-08-31 15:49:43 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-09-01 20:40:55 +0100 |
commit | ce380c2f09d69134505a5c08d38aa7a2ef19292b (patch) | |
tree | 1380f6c93ffc5196b82214be9c3cd22c34a87046 /test/test-functions | |
parent | 50dbb118c98b0885f2c95b37f41974e2d51e1d45 (diff) | |
download | systemd-ce380c2f09d69134505a5c08d38aa7a2ef19292b.tar.gz |
test: make sure to include all haveged unit files
Recent versions of haveged relies on haveged-switch-root.service too.
Diffstat (limited to 'test/test-functions')
-rw-r--r-- | test/test-functions | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test-functions b/test/test-functions index a2b92aeba8..5457f9e726 100644 --- a/test/test-functions +++ b/test/test-functions @@ -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 } |