TEST-06-*: also try the installation path for Debian

https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/debian/tests/upstream
used sed to adjust the path. I think it's better to make our script more
flexible.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-03-31 13:19:13 +02:00
parent f1416431b6
commit 68a7705e35
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ test_create_image() {
cp systemd_test.if $initdir/systemd-test-module
dracut_install -o sesearch
dracut_install runcon
dracut_install checkmodule semodule semodule_package m4 make /usr/libexec/selinux/hll/pp load_policy sefcontext_compile
dracut_install checkmodule semodule semodule_package m4 make load_policy sefcontext_compile
dracut_install -o /usr/libexec/selinux/hll/pp # Fedora/RHEL/...
dracut_install -o /usr/lib/selinux/hll/pp # Debian/Ubuntu/...
)
}