From b3f6b78370d875cb4d384842849e29b332b99f3e Mon Sep 17 00:00:00 2001 From: Cornelius Hoffmann Date: Fri, 13 Oct 2023 09:10:12 +0200 Subject: [PATCH] Do not remount build root as ro in build chroot The PR #1970 added an additional volatile overlay to the buildroot, which currently can only be used from the host, i.e. without mkosi-chroot. Once mkosi-chroot is run, the build overlay is readonly again. Fixes https://github.com/systemd/mkosi/issues/1974. --- mkosi/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 73df7ec70..0a95671a5 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -424,7 +424,6 @@ def run_build_scripts(state: MkosiState) -> None: "--setenv", "OUTPUTDIR", "/work/out", "--setenv", "BUILDROOT", "/", *(["--setenv", "BUILDDIR", "/work/build"] if state.config.build_dir else []), - "--remount-ro", "/", ], ) -- 2.47.3