package.bbclass: Ensure package_get_auto_pr is run at the correct point

This needs to run before PKGR and other variables using PRAUTO are used,
including the expansion optimisations.

(From OE-Core rev: eb09ebc9680eb50e23778dcc1c2697d13cf073ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-02-06 16:49:51 +00:00
parent 3b39e5307c
commit 7980773d90
1 changed files with 2 additions and 1 deletions

View File

@ -1771,7 +1771,6 @@ PACKAGESPLITFUNCS ?= " \
PACKAGEFUNCS ?= " \
package_fixsymlinks \
package_name_hook \
package_get_auto_pr \
package_do_filedeps \
package_do_shlibs \
package_do_pkgconfig \
@ -1805,6 +1804,8 @@ python do_package () {
bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package")
return
bb.build.exec_func("package_get_auto_pr", d)
###########################################################################
# Optimisations
###########################################################################