]> code.ossystems Code Review - openembedded-core.git/commitdiff
useradd: Add missing DEPEND on shadow
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Nov 2011 17:30:43 +0000 (17:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Nov 2011 11:35:30 +0000 (11:35 +0000)
Without this rootfs generation fails as an RDEPENDS is added
but the package might not have bneen built.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/useradd.bbclass

index 64d6861644fcc74a67fda159f3fe1f63cc773e6a..f3dd8236eefa3ae232dae04613fbb1ae8a5fecd9 100644 (file)
@@ -2,7 +2,7 @@
 # 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-passwd shadow-native shadow-sysroot"
+USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow"
 USERADDDEPENDS_virtclass-nativesdk = ""
 
 # This preinstall function will be run in two contexts: once for the