summaryrefslogtreecommitdiff
path: root/meta/classes/useradd.bbclass
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2012-04-16 14:50:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-16 12:51:19 +0100
commit380efadd5640e5b57e710549b1ae761d0d3b3792 (patch)
tree15755febbabdfeb268c7f99c99baeeeb7e2acf6c /meta/classes/useradd.bbclass
parentbc85abc5013d0c831cc3c3823df45536c293aaba (diff)
downloadopenembedded-core-380efadd5640e5b57e710549b1ae761d0d3b3792.tar.gz
openembedded-core-380efadd5640e5b57e710549b1ae761d0d3b3792.tar.bz2
openembedded-core-380efadd5640e5b57e710549b1ae761d0d3b3792.tar.xz
openembedded-core-380efadd5640e5b57e710549b1ae761d0d3b3792.zip
Multilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass...
MLPREFIX is needed in RDEPENDS for multilib build Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/useradd.bbclass')
-rw-r--r--meta/classes/useradd.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 0bbb371b2..0ed91ad2c 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -201,7 +201,8 @@ fakeroot python populate_packages_prepend () {
# RDEPENDS setup
rdepends = d.getVar("RDEPENDS_%s" % pkg, True) or ""
- rdepends += " base-passwd shadow"
+ rdepends += ' ' + d.getVar('MLPREFIX') + 'base-passwd'
+ rdepends += ' ' + d.getVar('MLPREFIX') + 'shadow'
d.setVar("RDEPENDS_%s" % pkg, rdepends)
# Add the user/group preinstall scripts and RDEPENDS requirements