diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 10:36:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 12:01:04 +0000 |
commit | 388a92bb7c0ea64b18a31c0c82437cc03ab309d8 (patch) | |
tree | cf15299a9f971e174f35f7667cb75ba5427b160e | |
parent | b1c0b3de20385457fdba4786c5cd11ef9024e6af (diff) | |
download | poky-388a92bb7c0ea64b18a31c0c82437cc03ab309d8.tar.gz |
debian.bbclass: Only set rdeptask for do_package if packaging is enabled
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/debian.bbclass | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass index 8f6e7d88cf..d35882fa44 100644 --- a/meta/classes/debian.bbclass +++ b/meta/classes/debian.bbclass | |||
@@ -8,10 +8,16 @@ | |||
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 | do_package_write_ipk[rdeptask] = "do_package" | 11 | DEBIANRDEP = "do_package" |
12 | do_package_write_deb[rdeptask] = "do_package" | 12 | do_package_write_ipk[rdeptask] = "${DEBIANRDEP}" |
13 | do_package_write_tar[rdeptask] = "do_package" | 13 | do_package_write_deb[rdeptask] = "${DEBIANRDEP}" |
14 | do_package_write_rpm[rdeptask] = "do_package" | 14 | do_package_write_tar[rdeptask] = "${DEBIANRDEP}" |
15 | do_package_write_rpm[rdeptask] = "${DEBIANRDEP}" | ||
16 | |||
17 | python () { | ||
18 | if not d.getVar("PACKAGES", True): | ||
19 | d.setVar("DEBIANRDEP", "") | ||
20 | } | ||
15 | 21 | ||
16 | python debian_package_name_hook () { | 22 | python debian_package_name_hook () { |
17 | import glob, copy, stat, errno, re | 23 | import glob, copy, stat, errno, re |