From: Daan De Meyer Date: Mon, 29 Jul 2024 11:40:42 +0000 (+0200) Subject: test: Don't mount build sources into image when running non-interactively X-Git-Tag: v257-rc1~806^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=578ee05155c0f6d8cc07f785fcc636037545c8da;p=thirdparty%2Fsystemd.git test: Don't mount build sources into image when running non-interactively --- diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index 7070e9c6364..124dc6fcc4a 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -159,8 +159,6 @@ jobs: [Host] QemuMem=4G - # We build with debuginfo so there's no point in mounting the sources into the machine. - RuntimeBuildSources=no EOF - name: Generate secure boot key diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py index d7a622abe80..596761aa89d 100755 --- a/test/integration-test-wrapper.py +++ b/test/integration-test-wrapper.py @@ -154,6 +154,7 @@ def main(): ), ]), '--credential', f"journal.storage={'persistent' if sys.stderr.isatty() else args.storage}", + *(['--runtime-build-sources=no'] if not sys.stderr.isatty() else []), 'qemu' if args.vm or os.getuid() != 0 else 'boot', ]