summaryrefslogtreecommitdiffstats
path: root/meta/classes/gconf.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/gconf.bbclass
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gconf.bbclass')
-rw-r--r--meta/classes/gconf.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/gconf.bbclass b/meta/classes/gconf.bbclass
index 3e3c509d5f..9d3668edd3 100644
--- a/meta/classes/gconf.bbclass
+++ b/meta/classes/gconf.bbclass
@@ -41,7 +41,7 @@ for SCHEMA in ${SCHEMA_FILES}; do
41done 41done
42} 42}
43 43
44python populate_packages_append () { 44python populate_packages:append () {
45 import re 45 import re
46 packages = d.getVar('PACKAGES').split() 46 packages = d.getVar('PACKAGES').split()
47 pkgdest = d.getVar('PKGDEST') 47 pkgdest = d.getVar('PKGDEST')
@@ -57,15 +57,15 @@ python populate_packages_append () {
57 if schemas != []: 57 if schemas != []:
58 bb.note("adding gconf postinst and prerm scripts to %s" % pkg) 58 bb.note("adding gconf postinst and prerm scripts to %s" % pkg)
59 d.setVar('SCHEMA_FILES', " ".join(schemas)) 59 d.setVar('SCHEMA_FILES', " ".join(schemas))
60 postinst = d.getVar('pkg_postinst_%s' % pkg) 60 postinst = d.getVar('pkg_postinst:%s' % pkg)
61 if not postinst: 61 if not postinst:
62 postinst = '#!/bin/sh\n' 62 postinst = '#!/bin/sh\n'
63 postinst += d.getVar('gconf_postinst') 63 postinst += d.getVar('gconf_postinst')
64 d.setVar('pkg_postinst_%s' % pkg, postinst) 64 d.setVar('pkg_postinst:%s' % pkg, postinst)
65 prerm = d.getVar('pkg_prerm_%s' % pkg) 65 prerm = d.getVar('pkg_prerm:%s' % pkg)
66 if not prerm: 66 if not prerm:
67 prerm = '#!/bin/sh\n' 67 prerm = '#!/bin/sh\n'
68 prerm += d.getVar('gconf_prerm') 68 prerm += d.getVar('gconf_prerm')
69 d.setVar('pkg_prerm_%s' % pkg, prerm) 69 d.setVar('pkg_prerm:%s' % pkg, prerm)
70 d.appendVar("RDEPENDS_%s" % pkg, ' ' + d.getVar('MLPREFIX', False) + 'gconf') 70 d.appendVar("RDEPENDS:%s" % pkg, ' ' + d.getVar('MLPREFIX', False) + 'gconf')
71} 71}