summaryrefslogtreecommitdiffstats
path: root/test/TEST-06-SELINUX
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-05 19:20:42 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-05 19:20:42 +0200
commit575f954b5d0e03d41fe08ce2a7d85b868e89b904 (patch)
treef8091620c65aa3dc7fcd055d4bf2a944e1a78acd /test/TEST-06-SELINUX
parentmkosi: Make .autorelabel file empty (diff)
downloadsystemd-575f954b5d0e03d41fe08ce2a7d85b868e89b904.tar.xz
systemd-575f954b5d0e03d41fe08ce2a7d85b868e89b904.zip
TEST-06-SELINUX: Disable RuntimeBuildSources=
Otherwise fixfiles will try to relabel it which could potentially lead to disaster. We also change the recommendation in HACKING.md to set the default so that TEST-06-SELINUX can override it.
Diffstat (limited to 'test/TEST-06-SELINUX')
-rw-r--r--test/TEST-06-SELINUX/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/TEST-06-SELINUX/meson.build b/test/TEST-06-SELINUX/meson.build
index 5036b64d9a..110b65fbd7 100644
--- a/test/TEST-06-SELINUX/meson.build
+++ b/test/TEST-06-SELINUX/meson.build
@@ -8,6 +8,9 @@ integration_tests += [
# Use 'auto' to automatically fallback on non-uefi architectures.
'firmware' : 'auto',
'vm' : true,
+ # Make sure we don't mount anything with virtiofs as otherwise fixfiles will try to relabel
+ # it.
+ 'mkosi-args' : integration_test_template['mkosi-args'] + ['--runtime-build-sources=no'],
},
]