]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Implement build overlay mounting with mkosi-sandbox 3556/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 26 Feb 2025 13:42:12 +0000 (14:42 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 26 Feb 2025 13:53:48 +0000 (14:53 +0100)
commitce72dc2a4de92d0ec1e7b7ff47cd20c4fd2939dc
treee2c3152af020248df4576d1bb8307f55d34bb4e6
parentf46cea7bb16d50790abbbf4d73913ad4799c1e11
Implement build overlay mounting with mkosi-sandbox

Now that we have Context.rootoptions(), we can switch out how we set
up the root mount without having to modify code all over the place.

Let's use this to get rid of mount_build_overlay() and instead replace
it with setup_build_overlay(), which simply configures a bunch of
fields on Context that make rootoptions() set up the root mount as an
overlay instead of a bind mount.
mkosi/__init__.py
mkosi/context.py