summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-02-17 18:47:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-13 09:43:21 +0000
commit697804229a172125ce7d3bfc9b343812d6fe3240 (patch)
tree3e6f4cc734cdca458e762596658b0f55a738e28f /meta/lib
parentb69bad2c4e51a24868422f39619a0598fd2a0533 (diff)
downloadopenembedded-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/lib')
-rw-r--r--meta/lib/oe/manifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/manifest.py b/meta/lib/oe/manifest.py
index 6ec9b1af8b..60c49be0e9 100644
--- a/meta/lib/oe/manifest.py
+++ b/meta/lib/oe/manifest.py
@@ -104,7 +104,7 @@ class Manifest(object, metaclass=ABCMeta):
pkg_list['lgp'] = \
"locale-base-en-us locale-base-en-gb"
elif image_rootfs.find("core-image-minimal") > 0:
- pkg_list[self.PKG_TYPE_MUST_INSTALL] = "run-postinsts packagegroup-core-boot"
+ pkg_list[self.PKG_TYPE_MUST_INSTALL] = "packagegroup-core-boot"
with open(self.initial_manifest, "w+") as manifest:
manifest.write(self.initial_manifest_file_header)