From: Zbigniew Jędrzejewski-Szmek Date: Tue, 31 Mar 2020 11:19:13 +0000 (+0200) Subject: TEST-06-*: also try the installation path for Debian X-Git-Tag: v246-rc1~601^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68a7705e351596203a738ca666030dc747077051;p=thirdparty%2Fsystemd.git 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. --- diff --git a/test/TEST-06-SELINUX/test.sh b/test/TEST-06-SELINUX/test.sh index 7a836bbc034..0acd7a10e80 100755 --- a/test/TEST-06-SELINUX/test.sh +++ b/test/TEST-06-SELINUX/test.sh @@ -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/... ) }