From: Cornelius Hoffmann Date: Fri, 13 Oct 2023 07:10:12 +0000 (+0200) Subject: Do not remount build root as ro in build chroot X-Git-Tag: v19~83 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3f6b78370d875cb4d384842849e29b332b99f3e;p=thirdparty%2Fmkosi.git 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. --- 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", "/", ], )