]> git.ipfire.org Git - thirdparty/mkosi.git/commit
postmarketos: Set up usrmerge in install() instead of setup()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 24 Sep 2025 08:41:59 +0000 (10:41 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 24 Sep 2025 08:48:49 +0000 (10:48 +0200)
commitc0c828681021e8e2cb95cc0f7af34783eebf1ba6
treed1fc3d0a0ce3de6e1ef7cbd32b9e6dbf1c80af1c
parentd468830880ba4ef09462e71e7a4b89765825ac47
postmarketos: Set up usrmerge in install() instead of setup()

We try to not touch the rootfs directory in setup() at all, so set
up merged /usr in install() instead like we do for debian. Additionally,
we also make sync() does not touch the rootfs either by having it operate
on a temporary directory instead of the real rootfs.
mkosi/distributions/postmarketos.py
mkosi/installer/apk.py