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>
This commit is contained in:
parent
45f805a6c8
commit
0e7bcf12ee
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue