]> code.ossystems Code Review - openembedded-core.git/commit
rootfs: add option to allow delayed postinsts on read-only rootfs
authorAnton Kachalov <rnouse@google.com>
Fri, 15 Jan 2021 15:43:23 +0000 (16:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Jan 2021 22:39:17 +0000 (22:39 +0000)
commit0977204e16279b117811b5d5cdac5918287e95ac
tree909e75c97a35010511e9f7f68bf3b17e03e1d951
parent65feaffe9857029fa230935cb0c3e8e6f2815776
rootfs: add option to allow delayed postinsts on read-only rootfs

Example use case in OpenBMC: rootfs is squashfs and the system has either
overlayfs for whole rootfs or for some parts (e.g. /etc).

This option will allow to create migration one-shot postinsts using
"pkg_postinst_ontarget_${PN}" routines defined in recipes to fix
files under upper workdir in overlayfs.

Signed-off-by: Anton D. Kachalov <rnouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/lib/oe/rootfs.py