mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user