summaryrefslogtreecommitdiffstats
path: root/meta/classes/multilib.bbclass
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-26 08:27:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-29 13:48:05 +0100
commit0e7bcf12ee5a39d1c776d8eddeaa5661716874f0 (patch)
tree8b113c4ea2d97e82682fc787ce481e4b081bd48d /meta/classes/multilib.bbclass
parent45f805a6c85f360a58ce0b41f07db602c547b3dc (diff)
downloadpoky-0e7bcf12ee5a39d1c776d8eddeaa5661716874f0.tar.gz
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. (From OE-Core rev: a5c9f8af79c1632d2f3de5dd9627a7ca24fa0b76) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 () {
73 d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping])) 73 d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping]))
74 74
75 for pkg_mapping in pkgs_mapping: 75 for pkg_mapping in pkgs_mapping:
76 for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY"]: 76 for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY", "pkg_postinst", "pkg_postrm"]:
77 d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1])) 77 d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1]))
78 78
79 map_dependencies("DEPENDS", d) 79 map_dependencies("DEPENDS", d)