package.bbclass: Tweak PACKAGEFUNCS

Move package_rename_hook call into PACKAGEFUNCS and also move package_get_auto_pr
to a more appropriate execution point, grouping package metadata handling
functions together.

(From OE-Core rev: a3f41cfbc8923e54198d10db292a11ef2edda4d7)

(From OE-Core rev: 96d268166ab0d4640767bf3a0886358dcb663d0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2013-01-29 13:59:35 +00:00
parent b369a3619e
commit 398d62fd74

View File

@@ -1035,8 +1035,6 @@ python populate_packages () {
for f in unshipped:
msg = msg + "\n " + f
package_qa_handle_error("installed_vs_shipped", msg, d)
bb.build.exec_func("package_name_hook", d)
}
populate_packages[dirs] = "${D}"
@@ -1841,13 +1839,15 @@ def gen_packagevar(d):
return " ".join(ret)
PACKAGE_PREPROCESS_FUNCS ?= ""
PACKAGEFUNCS ?= "package_get_auto_pr \
PACKAGEFUNCS ?= " \
perform_packagecopy \
${PACKAGE_PREPROCESS_FUNCS} \
package_do_split_locales \
split_and_strip_files \
fixup_perms \
populate_packages \
package_name_hook \
package_get_auto_pr \
package_fixsymlinks \
package_do_filedeps \
package_do_shlibs \