summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 10:36:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 12:01:04 +0000
commit388a92bb7c0ea64b18a31c0c82437cc03ab309d8 (patch)
treecf15299a9f971e174f35f7667cb75ba5427b160e /meta
parentb1c0b3de20385457fdba4786c5cd11ef9024e6af (diff)
downloadpoky-388a92bb7c0ea64b18a31c0c82437cc03ab309d8.tar.gz
debian.bbclass: Only set rdeptask for do_package if packaging is enabled
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/debian.bbclass14
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
11do_package_write_ipk[rdeptask] = "do_package" 11DEBIANRDEP = "do_package"
12do_package_write_deb[rdeptask] = "do_package" 12do_package_write_ipk[rdeptask] = "${DEBIANRDEP}"
13do_package_write_tar[rdeptask] = "do_package" 13do_package_write_deb[rdeptask] = "${DEBIANRDEP}"
14do_package_write_rpm[rdeptask] = "do_package" 14do_package_write_tar[rdeptask] = "${DEBIANRDEP}"
15do_package_write_rpm[rdeptask] = "${DEBIANRDEP}"
16
17python () {
18 if not d.getVar("PACKAGES", True):
19 d.setVar("DEBIANRDEP", "")
20}
15 21
16python debian_package_name_hook () { 22python debian_package_name_hook () {
17 import glob, copy, stat, errno, re 23 import glob, copy, stat, errno, re