summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-29 13:59:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-01 15:51:29 +0000
commit96d268166ab0d4640767bf3a0886358dcb663d0f (patch)
treec762c71e8ebd08a4788857ef67de9ab0ca9c185b
parent08a194c13857b02a2febf9b1484b3cdd67a18160 (diff)
downloadopenembedded-core-96d268166ab0d4640767bf3a0886358dcb663d0f.tar.gz
openembedded-core-96d268166ab0d4640767bf3a0886358dcb663d0f.tar.bz2
openembedded-core-96d268166ab0d4640767bf3a0886358dcb663d0f.zip
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) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 8bf80f5afb..2f1695b646 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -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 \