diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-29 13:59:35 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-01 15:54:02 +0000 |
| commit | 398d62fd74b87d5f9c655a86f5c163da89188cb5 (patch) | |
| tree | 3d55dac6d0a294749bea5982a4ed80b34e646556 | |
| parent | b369a3619e3d967c6c81bb2828671e49683ec63b (diff) | |
| download | poky-398d62fd74b87d5f9c655a86f5c163da89188cb5.tar.gz | |
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>
| -rw-r--r-- | meta/classes/package.bbclass | 6 |
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 () { | |||
| 1035 | for f in unshipped: | 1035 | for f in unshipped: |
| 1036 | msg = msg + "\n " + f | 1036 | msg = msg + "\n " + f |
| 1037 | package_qa_handle_error("installed_vs_shipped", msg, d) | 1037 | package_qa_handle_error("installed_vs_shipped", msg, d) |
| 1038 | |||
| 1039 | bb.build.exec_func("package_name_hook", d) | ||
| 1040 | } | 1038 | } |
| 1041 | populate_packages[dirs] = "${D}" | 1039 | populate_packages[dirs] = "${D}" |
| 1042 | 1040 | ||
| @@ -1841,13 +1839,15 @@ def gen_packagevar(d): | |||
| 1841 | return " ".join(ret) | 1839 | return " ".join(ret) |
| 1842 | 1840 | ||
| 1843 | PACKAGE_PREPROCESS_FUNCS ?= "" | 1841 | PACKAGE_PREPROCESS_FUNCS ?= "" |
| 1844 | PACKAGEFUNCS ?= "package_get_auto_pr \ | 1842 | PACKAGEFUNCS ?= " \ |
| 1845 | perform_packagecopy \ | 1843 | perform_packagecopy \ |
| 1846 | ${PACKAGE_PREPROCESS_FUNCS} \ | 1844 | ${PACKAGE_PREPROCESS_FUNCS} \ |
| 1847 | package_do_split_locales \ | 1845 | package_do_split_locales \ |
| 1848 | split_and_strip_files \ | 1846 | split_and_strip_files \ |
| 1849 | fixup_perms \ | 1847 | fixup_perms \ |
| 1850 | populate_packages \ | 1848 | populate_packages \ |
| 1849 | package_name_hook \ | ||
| 1850 | package_get_auto_pr \ | ||
| 1851 | package_fixsymlinks \ | 1851 | package_fixsymlinks \ |
| 1852 | package_do_filedeps \ | 1852 | package_do_filedeps \ |
| 1853 | package_do_shlibs \ | 1853 | package_do_shlibs \ |
