From a5c9f8af79c1632d2f3de5dd9627a7ca24fa0b76 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Fri, 26 Aug 2011 08:27:41 +0800 Subject: 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 --- meta/classes/multilib.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 46c24e1de..5976d5dce 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) -- cgit v1.2.3