Patchwork useradd: Add dependency on pseudo for setscene task

login
register
mail settings
Submitter Jate S
Date April 10, 2014, 5:43 p.m.
Message ID <CAPphmganA8fjSKRuY8MGu3DQM=K88yxEXHW8LbudoVqEMUVK5A@mail.gmail.com>
Download mbox | patch
Permalink /patch/70467/
State New
Headers show

Comments

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

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 = ""