]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Do not relabel files when building extension image
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 28 Sep 2025 18:40:00 +0000 (20:40 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 28 Sep 2025 19:17:50 +0000 (21:17 +0200)
We disable relabelling for the main image, let's make sure we disable
it for the extension images we build as well.

tests/test_extension.py

index 59f1f1a24611dc6d6df45a49d5d19572050637f5..b205390ecccc66d67ffcde5a60cc3524f71b99a7 100644 (file)
@@ -24,6 +24,7 @@ def test_extension(config: ImageConfig, format: OutputFormat) -> None:
                     "--incremental=no",
                     "--base-tree", Path(image.output_dir) / "image",
                     "--overlay=yes",
+                    "--selinux-relabel=no",
                     "--package=lsof",
                     f"--format={format}",
                 ]