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-13 09:43:21 +0000 |
commit | 697804229a172125ce7d3bfc9b343812d6fe3240 (patch) | |
tree | 3e6f4cc734cdca458e762596658b0f55a738e28f /meta/classes/image.bbclass | |
parent | b69bad2c4e51a24868422f39619a0598fd2a0533 (diff) | |
download | openembedded-core-697804229a172125ce7d3bfc9b343812d6fe3240.tar.gz openembedded-core-697804229a172125ce7d3bfc9b343812d6fe3240.tar.bz2 openembedded-core-697804229a172125ce7d3bfc9b343812d6fe3240.zip |
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.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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 IMAGE_GEN_DEBUGFS ?= "0" # rootfs bootstrap install -ROOTFS_BOOTSTRAP_INSTALL = "${@bb.utils.contains("IMAGE_FEATURES", "package-management", "", "${ROOTFS_PKGMANAGE_BOOTSTRAP}",d)}" +ROOTFS_BOOTSTRAP_INSTALL = "run-postinsts" # These packages will be removed from a read-only rootfs after all other # packages have been installed |