[oe-commits] Richard Purdie : useradd: Add missing DEPEND on shadow

git at git.openembedded.org git at git.openembedded.org
Thu Nov 10 11:37:20 UTC 2011


Module: openembedded-core.git
Branch: master-next
Commit: bfe70c6446e6686f826f01040ba74c7d7d28bf42
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=bfe70c6446e6686f826f01040ba74c7d7d28bf42

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed Nov  9 17:30:43 2011 +0000

useradd: Add missing DEPEND on shadow

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 at linuxfoundation.org>

---

 meta/classes/useradd.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 64d6861..f3dd823 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -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





More information about the Openembedded-commits mailing list