summaryrefslogtreecommitdiff
path: root/meta/classes/multilib.bbclass
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-26 08:27:41 +0800
committerSaul Wold <sgw@linux.intel.com>2011-08-26 12:34:02 -0700
commita5c9f8af79c1632d2f3de5dd9627a7ca24fa0b76 (patch)
tree390de938145cb4bf927deac31f145f72508d7b01 /meta/classes/multilib.bbclass
parentea7c196b4097d64b4f42faccaf075334c297ba20 (diff)
downloadopenembedded-core-a5c9f8af79c1632d2f3de5dd9627a7ca24fa0b76.tar.gz
openembedded-core-a5c9f8af79c1632d2f3de5dd9627a7ca24fa0b76.tar.bz2
openembedded-core-a5c9f8af79c1632d2f3de5dd9627a7ca24fa0b76.zip
multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elements
Add "pkg_postinst" and "pkg_postrm" as renaming elements, which fixes missing post install/rm scripts in target image. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r--meta/classes/multilib.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 46c24e1dec..5976d5dce3 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -73,7 +73,7 @@ python __anonymous () {
d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping]))
for pkg_mapping in pkgs_mapping:
- for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY"]:
+ for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY", "pkg_postinst", "pkg_postrm"]:
d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1]))
map_dependencies("DEPENDS", d)