aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2014-09-10 19:54:25 +0200
committerAndreas Oberritter <obi@opendreambox.org>2015-02-23 17:15:52 +0100
commite7db2c7136a041f584c18ca178aa2556d7e1159e (patch)
tree578579e4ec90b912edc9a3a5b885d84d9a9afd22 /meta/classes/insane.bbclass
parentf780a10f8f7d1a169980abfe3120b4a03700f0f7 (diff)
downloadopenembedded-core-contrib-e7db2c7136a041f584c18ca178aa2556d7e1159e.tar.gz
{insane,package{,_deb,_ipk}}.bbclass: support 'Breaks' control field by introducing RBREAKS
Required by Debian Policy section 7.3. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index a784aff3a9..0f0bec2b4a 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -767,6 +767,8 @@ def package_qa_check_deps(pkg, pkgdest, skip, d):
sane = False
if not check_valid_deps('RCONFLICTS'):
sane = False
+ if not check_valid_deps('RBREAKS'):
+ sane = False
return sane
@@ -946,7 +948,7 @@ python () {
issues = []
if (d.getVar('PACKAGES', True) or "").split():
- for var in 'RDEPENDS', 'RRECOMMENDS', 'RSUGGESTS', 'RCONFLICTS', 'RPROVIDES', 'RREPLACES', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm', 'ALLOW_EMPTY':
+ for var in 'RDEPENDS', 'RRECOMMENDS', 'RSUGGESTS', 'RCONFLICTS', 'RPROVIDES', 'RREPLACES', 'RBREAKS', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm', 'ALLOW_EMPTY':
if d.getVar(var):
issues.append(var)
for i in issues: