summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/useradd.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index eabfc5d397..a850e9db6a 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -101,7 +101,7 @@ useradd_sysroot () {
101} 101}
102 102
103useradd_sysroot_sstate () { 103useradd_sysroot_sstate () {
104 if [ "${BB_CURRENTTASK}" = "package_setscene" ] 104 if [ "${BB_CURRENTTASK}" = "package_setscene" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
105 then 105 then
106 useradd_sysroot 106 useradd_sysroot
107 fi 107 fi
@@ -123,6 +123,7 @@ USERADDSETSCENEDEPS_virtclass-cross = ""
123USERADDSETSCENEDEPS_class-native = "" 123USERADDSETSCENEDEPS_class-native = ""
124USERADDSETSCENEDEPS_class-nativesdk = "" 124USERADDSETSCENEDEPS_class-nativesdk = ""
125do_package_setscene[depends] += "${USERADDSETSCENEDEPS}" 125do_package_setscene[depends] += "${USERADDSETSCENEDEPS}"
126do_populate_sysroot_setscene[depends] += "${USERADDSETSCENEDEPS}"
126 127
127# Recipe parse-time sanity checks 128# Recipe parse-time sanity checks
128def update_useradd_after_parse(d): 129def update_useradd_after_parse(d):