diff options
author | Ross Burton <ross.burton@intel.com> | 2014-07-23 23:35:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-25 15:33:59 +0100 |
commit | e9008b01af51994ca3cf1030a789891731cc1b0b (patch) | |
tree | 70b4c2d02012b52e4ec57c21d29f4eb5caca09ba /meta/classes/debian.bbclass | |
parent | e2bd60a50c7235b5b31960015cb37dbd81f639d4 (diff) | |
download | poky-e9008b01af51994ca3cf1030a789891731cc1b0b.tar.gz |
debian.bbclass: inherit package
This class defines a package_name_hook implementation but as EXPORT_FUNCTIONS is
order-dependent it needs to inherit package.bbclass first to ensure that the
"base" definition in there is defined first, otherwise with a suitable inherit
order of debian and then a packaging class can result in the stub
package_name_hook being incorrectly used.
(From OE-Core rev: 3aa52f85e774bf82e8470a8fd849bd6953930720)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/debian.bbclass')
-rw-r--r-- | meta/classes/debian.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass index d7ea151a5d..1ddb56fbb9 100644 --- a/meta/classes/debian.bbclass +++ b/meta/classes/debian.bbclass | |||
@@ -8,6 +8,9 @@ | |||
8 | # | 8 | # |
9 | # Better expressed as ensure all RDEPENDS package before we package | 9 | # Better expressed as ensure all RDEPENDS package before we package |
10 | # This means we can't have circular RDEPENDS/RRECOMMENDS | 10 | # This means we can't have circular RDEPENDS/RRECOMMENDS |
11 | |||
12 | inherit package | ||
13 | |||
11 | DEBIANRDEP = "do_packagedata" | 14 | DEBIANRDEP = "do_packagedata" |
12 | do_package_write_ipk[rdeptask] = "${DEBIANRDEP}" | 15 | do_package_write_ipk[rdeptask] = "${DEBIANRDEP}" |
13 | do_package_write_deb[rdeptask] = "${DEBIANRDEP}" | 16 | do_package_write_deb[rdeptask] = "${DEBIANRDEP}" |