]> code.ossystems Code Review - openembedded-core.git/commitdiff
useradd: Add setscene dep on pseudo-native
authorJate Sujjavanich <jatedev@gmail.com>
Sun, 10 Aug 2014 21:00:41 +0000 (17:00 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Aug 2014 22:44:12 +0000 (23:44 +0100)
A recipe will sometimes be rebuilt unnecessarily if it adds users via
useradd and the pseudo-native task has not been populated.

This patch adds the correct dependency.

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

index ea15dabb846d48233f765e91262ad1a3c00e4730..3b70e80b2fe96bfbfc1e09f2cf6a5cb1d215b5c1 100644 (file)
@@ -126,7 +126,7 @@ SYSROOTPOSTFUNC_class-cross = ""
 SYSROOTPOSTFUNC_class-native = ""
 SYSROOTPOSTFUNC_class-nativesdk = ""
 
-USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene"
+USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene pseudo-native:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene"
 USERADDSETSCENEDEPS_class-cross = ""
 USERADDSETSCENEDEPS_class-native = ""
 USERADDSETSCENEDEPS_class-nativesdk = ""