]> code.ossystems Code Review - openembedded-core.git/commit
run-postinsts: fix issue with checking IMAGE_FEATURES
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Thu, 27 Mar 2014 12:43:57 +0000 (14:43 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Mar 2014 15:44:16 +0000 (15:44 +0000)
commit44902f7550e490a9d4d2e2bcdf8c577329b4af75
tree5688163e8175704eb2dfbded96da8d368b1597f4
parentf41f1b263438e19e2209876798bbcbbcee646f34
run-postinsts: fix issue with checking IMAGE_FEATURES

The old implementation was wrong. It was not very generic and it checked
IMAGE_FEATURES while building the recipe, which led to various issues
with the generation of the final script. That is, the run-postinsts
script was generated once, while building the package for the first
time. Hence, any other changes to IMAGE_FEATURES, like removing/adding
'package-management' did not reflect in the final script.

This commit makes run-postinsts script autodetect the backend used for
creating the image, making it generic.

[YOCTO #5666]
[YOCTO #5972]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb