useradd: Add dependency on pseudo for setscene task

Submitted by Jate S on April 10, 2014, 5:43 p.m.

Details

Message ID CAPphmganA8fjSKRuY8MGu3DQM=K88yxEXHW8LbudoVqEMUVK5A@mail.gmail.com
State New
Headers show

Commit Message

Jate S April 10, 2014, 5:43 p.m.
useradd: Add dependency on pseudo for setscene task

Recipes inheriting useradd depend on pseudo-native when running
task do_populate_sysroot_setscene. This fix allows
the sstate-cache result to be used and prevents a rebuild.

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>

Patch hide | download patch | download mbox

diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index a850e9d..d40fc71 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -119,6 +119,7 @@  SYSROOTPOSTFUNC_class-native = ""
 SYSROOTPOSTFUNC_class-nativesdk = ""

 USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shad
+USERADDSETSCENEDEPS += "pseudo-native:do_populate_sysroot_setscene"
 USERADDSETSCENEDEPS_virtclass-cross = ""
 USERADDSETSCENEDEPS_class-native = ""
 USERADDSETSCENEDEPS_class-nativesdk = ""