Skip to contentSkip to conversation

package.bbclass: Add missing PKGR, PKGV, PKGE and ALTERNATIVE variables from PACKAGEVARS

PATCH New Richard Purdie 1 participant 1 message Jun 29, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package.bbclass: Add missing PKGR, PKGV, PKGE and ALTERNATIVE variables from PACKAGEVARS

These variables all take package name extensions and should be considered in sstate dependency processing.

This may also fix some multilib alternatives issues (unconfirmed).

[YOCTO #2056]

---

meta/classes/package.bbclass +1 -1
index 10c2f0a..0b98c6b 100644
@@ -1701,7 +1701,7 @@ python package_depchains() {
 
 # Since bitbake can't determine which variables are accessed during package 
 # iteration, we need to list them here:
-PACKAGEVARS = "FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME"
+PACKAGEVARS = "FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME ALTERNATIVE PKGE PKGV PKGR"
 
 def gen_packagevar(d):
     ret = []