From: Daan De Meyer Date: Fri, 5 Jul 2024 17:20:42 +0000 (+0200) Subject: TEST-06-SELINUX: Disable RuntimeBuildSources= X-Git-Tag: v257-rc1~954^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F33644%2Fhead;p=thirdparty%2Fsystemd.git 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. --- diff --git a/docs/HACKING.md b/docs/HACKING.md index 5b1e3553277..e05f029d909 100644 --- a/docs/HACKING.md +++ b/docs/HACKING.md @@ -52,7 +52,7 @@ image all the time when iterating on a patch, add the following to ```conf [Host] -RuntimeBuildSources=yes +@RuntimeBuildSources=yes ``` After enabling this setting, the source and build directories will be mounted to diff --git a/test/TEST-06-SELINUX/meson.build b/test/TEST-06-SELINUX/meson.build index 5036b64d9a6..110b65fbd7a 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'], }, ]