diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-02-05 16:57:30 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-02-05 16:57:30 +0100 |
commit | cd2d8fea141761785195c53658a499006c19210b (patch) | |
tree | cfd3f5382ae09a858ebf087f60d591c8dca06f74 /test/testsuite-06.units/load-systemd-test-module.service | |
parent | Revert "resolvectl: Add show-multicast verb to show discovered LLMNR/mDNS hosts" (diff) | |
download | systemd-cd2d8fea141761785195c53658a499006c19210b.tar.xz systemd-cd2d8fea141761785195c53658a499006c19210b.zip |
test: clean the module build dir before compiling it
otherwise the module won't compile & load after autorelabel reboot,
since the target is already built.
Diffstat (limited to '')
-rw-r--r-- | test/testsuite-06.units/load-systemd-test-module.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsuite-06.units/load-systemd-test-module.service b/test/testsuite-06.units/load-systemd-test-module.service index 323a76c68d..335f38c5b4 100644 --- a/test/testsuite-06.units/load-systemd-test-module.service +++ b/test/testsuite-06.units/load-systemd-test-module.service @@ -8,7 +8,7 @@ Before=sysinit.target shutdown.target autorelabel.service ConditionSecurity=selinux [Service] -ExecStart=sh -x -c 'echo 0 >/sys/fs/selinux/enforce && cd /systemd-test-module && make -f /usr/share/selinux/devel/Makefile load' +ExecStart=sh -x -c 'echo 0 >/sys/fs/selinux/enforce && cd /systemd-test-module && make -f /usr/share/selinux/devel/Makefile clean load' Type=oneshot TimeoutSec=0 RemainAfterExit=yes |