diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-25 14:25:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-27 10:25:34 +0000 |
commit | 0a434ac10158e2011d41a1189e65e9474b1672be (patch) | |
tree | 6171516b25cb337343a6373e34aec0d061e4f5e8 /meta/classes/gconf.bbclass | |
parent | 71fded5145454b144413057e11f78f718d947093 (diff) | |
download | poky-0a434ac10158e2011d41a1189e65e9474b1672be.tar.gz |
getVar/setVar cleanups
Complete the bb.data.getVar/setVar replacements with accesses
directly to the data store object.
(From OE-Core rev: 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gconf.bbclass')
-rw-r--r-- | meta/classes/gconf.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gconf.bbclass b/meta/classes/gconf.bbclass index f164547782..c1dbbe30dc 100644 --- a/meta/classes/gconf.bbclass +++ b/meta/classes/gconf.bbclass | |||
@@ -45,7 +45,7 @@ python populate_packages_append () { | |||
45 | schemas.append(f) | 45 | schemas.append(f) |
46 | if schemas != []: | 46 | if schemas != []: |
47 | bb.note("adding gconf postinst and prerm scripts to %s" % pkg) | 47 | bb.note("adding gconf postinst and prerm scripts to %s" % pkg) |
48 | bb.data.setVar('SCHEMA_FILES', " ".join(schemas), d) | 48 | d.setVar('SCHEMA_FILES', " ".join(schemas)) |
49 | postinst = d.getVar('pkg_postinst_%s' % pkg, 1) or d.getVar('pkg_postinst', 1) | 49 | postinst = d.getVar('pkg_postinst_%s' % pkg, 1) or d.getVar('pkg_postinst', 1) |
50 | if not postinst: | 50 | if not postinst: |
51 | postinst = '#!/bin/sh\n' | 51 | postinst = '#!/bin/sh\n' |