diff options
author | Anton Kachalov <rnouse@google.com> | 2021-01-15 16:43:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-16 22:39:35 +0000 |
commit | 49c4fdcb884057c0fc713925c8040e36fd26af8d (patch) | |
tree | 1d9e77e8895b889028d36d4607d3512a12a66c38 /meta/classes | |
parent | e9bd99fe385b73b1607f41ff22132572e8a8264b (diff) | |
download | poky-49c4fdcb884057c0fc713925c8040e36fd26af8d.tar.gz |
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.
(From OE-Core rev: 0977204e16279b117811b5d5cdac5918287e95ac)
Signed-off-by: Anton D. Kachalov <rnouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 045f4494c8..3239d5cf5e 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -33,7 +33,7 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
33 | # IMAGE_FEATURES may contain any available package group | 33 | # IMAGE_FEATURES may contain any available package group |
34 | IMAGE_FEATURES ?= "" | 34 | IMAGE_FEATURES ?= "" |
35 | IMAGE_FEATURES[type] = "list" | 35 | IMAGE_FEATURES[type] = "list" |
36 | IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs stateless-rootfs empty-root-password allow-empty-password allow-root-login post-install-logging" | 36 | IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs read-only-rootfs-delayed-postinsts stateless-rootfs empty-root-password allow-empty-password allow-root-login post-install-logging" |
37 | 37 | ||
38 | # Generate companion debugfs? | 38 | # Generate companion debugfs? |
39 | IMAGE_GEN_DEBUGFS ?= "0" | 39 | IMAGE_GEN_DEBUGFS ?= "0" |