| Submitter | Peter Tworek |
|---|---|
| Date | Jan. 31, 2012, 9:25 p.m. |
| Message ID | <1328045111-8189-1-git-send-email-tworaz666@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/20457/ |
| State | Not Applicable |
| Headers | show |
Comments
Patch
diff --git a/meta/classes/gconf.bbclass b/meta/classes/gconf.bbclass index c1dbbe3..7bfa871 100644 --- a/meta/classes/gconf.bbclass +++ b/meta/classes/gconf.bbclass @@ -56,5 +56,8 @@ python populate_packages_append () { prerm = '#!/bin/sh\n' prerm += d.getVar('gconf_prerm', 1) d.setVar('pkg_prerm_%s' % pkg, prerm) + rdepends = d.getVar("RDEPENDS_%s" % pkg, True) or "" + rdepends += " gconf" + d.setVar("RDEPENDS_%s" % pkg, rdepends) }
Right now gconf bbclass adds both postinst and prerm steps, but it does not ensure that packages involved have gconf in RDEPENDS. This can lead to a situation where postinst/prerm steps fail because gconftool-2 is not installed. Signed-off-by: Peter Tworek <tworaz666@gmail.com> --- meta/classes/gconf.bbclass | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)