]> code.ossystems Code Review - openembedded-core.git/commitdiff
useradd.bbclass: Remove base-passwd dependency
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Thu, 14 May 2015 07:03:34 +0000 (07:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 May 2015 21:21:55 +0000 (22:21 +0100)
shadow-sysroot (another useradd dependency) recipe already includes
base-passwd dependency, so removing it from useradd class.

This fixes the compilation issue observed when a recipe depends
on another where the latter inherits from useradd as in the
following scenario:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7724#c0

[Yocto #7724]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/useradd.bbclass

index e443f845f7aa734a9792897953f15caccf17db36..eb82b00473d14492b4ca585f61364406465b0af3 100644 (file)
@@ -4,7 +4,7 @@ inherit useradd_base
 # target sysroot, and shadow -native and -sysroot provide the utilities
 # and support files needed to add and modify user and group accounts
 DEPENDS_append = "${USERADDDEPENDS}"
-USERADDDEPENDS = " base-files base-passwd shadow-native shadow-sysroot shadow"
+USERADDDEPENDS = " base-files shadow-native shadow-sysroot shadow"
 USERADDDEPENDS_class-cross = ""
 USERADDDEPENDS_class-native = ""
 USERADDDEPENDS_class-nativesdk = ""