diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-02-17 18:47:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-14 14:42:17 +0000 |
commit | 529244ee212fe14019e35a5f163fab705ddbf141 (patch) | |
tree | 494399073efc89e3515294578b87cddd953cf3fd /meta/classes/image.bbclass | |
parent | 55928d1237ad4026e8db3cc5424127523543b424 (diff) | |
download | poky-529244ee212fe14019e35a5f163fab705ddbf141.tar.gz |
run-postinsts: simplify the logic of whether to install it to images
The logic is scattered all over the place, but amounts to
"install, unless the rootfs is read only". Let's express that directly.
(From OE-Core rev: 697804229a172125ce7d3bfc9b343812d6fe3240)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-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 127e62d5d9..405fd73c04 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -29,7 +29,7 @@ IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs empty-root-password | |||
29 | IMAGE_GEN_DEBUGFS ?= "0" | 29 | IMAGE_GEN_DEBUGFS ?= "0" |
30 | 30 | ||
31 | # rootfs bootstrap install | 31 | # rootfs bootstrap install |
32 | ROOTFS_BOOTSTRAP_INSTALL = "${@bb.utils.contains("IMAGE_FEATURES", "package-management", "", "${ROOTFS_PKGMANAGE_BOOTSTRAP}",d)}" | 32 | ROOTFS_BOOTSTRAP_INSTALL = "run-postinsts" |
33 | 33 | ||
34 | # These packages will be removed from a read-only rootfs after all other | 34 | # These packages will be removed from a read-only rootfs after all other |
35 | # packages have been installed | 35 | # packages have been installed |