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/lib | |
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/lib')
-rw-r--r-- | meta/lib/oe/manifest.py | 2 |
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): | |||
104 | pkg_list['lgp'] = \ | 104 | pkg_list['lgp'] = \ |
105 | "locale-base-en-us locale-base-en-gb" | 105 | "locale-base-en-us locale-base-en-gb" |
106 | elif image_rootfs.find("core-image-minimal") > 0: | 106 | elif image_rootfs.find("core-image-minimal") > 0: |
107 | pkg_list[self.PKG_TYPE_MUST_INSTALL] = "run-postinsts packagegroup-core-boot" | 107 | pkg_list[self.PKG_TYPE_MUST_INSTALL] = "packagegroup-core-boot" |
108 | 108 | ||
109 | with open(self.initial_manifest, "w+") as manifest: | 109 | with open(self.initial_manifest, "w+") as manifest: |
110 | manifest.write(self.initial_manifest_file_header) | 110 | manifest.write(self.initial_manifest_file_header) |