test: fix setup_suse() to make it work with an already populated root

This commit is contained in:
Franck Bui 2018-03-05 19:02:25 +01:00
parent 936f6bdb80
commit caced73270
1 changed files with 2 additions and 2 deletions

View File

@ -1383,8 +1383,8 @@ inst_libdir_file() {
}
setup_suse() {
ln -s ../usr/bin/systemctl $initdir/bin/systemctl
ln -s ../usr/lib/systemd $initdir/lib/systemd
ln -fs ../usr/bin/systemctl $initdir/bin/
ln -fs ../usr/lib/systemd $initdir/lib/
inst_simple "/usr/lib/systemd/system/haveged.service"
}