diff options
Diffstat (limited to 'meta/classes/debian.bbclass')
-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 |