diff options
author | Zhai Edwin <edwin.zhai@intel.com> | 2012-04-16 14:50:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-16 12:52:10 +0100 |
commit | d1eba59ffd14ddad2bbb7fcecd3538245febe92e (patch) | |
tree | 0fd09bee3b4f3802d902035aa19647e5bff06941 /meta/classes/useradd.bbclass | |
parent | f139832667058ee9dc0f4f03733d697bb0179981 (diff) | |
download | poky-d1eba59ffd14ddad2bbb7fcecd3538245febe92e.tar.gz |
Multilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass...
MLPREFIX is needed in RDEPENDS for multilib build
(From OE-Core rev: 380efadd5640e5b57e710549b1ae761d0d3b3792)
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.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index 0bbb371b2a..0ed91ad2c6 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass | |||
@@ -201,7 +201,8 @@ fakeroot python populate_packages_prepend () { | |||
201 | 201 | ||
202 | # RDEPENDS setup | 202 | # RDEPENDS setup |
203 | rdepends = d.getVar("RDEPENDS_%s" % pkg, True) or "" | 203 | rdepends = d.getVar("RDEPENDS_%s" % pkg, True) or "" |
204 | rdepends += " base-passwd shadow" | 204 | rdepends += ' ' + d.getVar('MLPREFIX') + 'base-passwd' |
205 | rdepends += ' ' + d.getVar('MLPREFIX') + 'shadow' | ||
205 | d.setVar("RDEPENDS_%s" % pkg, rdepends) | 206 | d.setVar("RDEPENDS_%s" % pkg, rdepends) |
206 | 207 | ||
207 | # Add the user/group preinstall scripts and RDEPENDS requirements | 208 | # Add the user/group preinstall scripts and RDEPENDS requirements |