diff options
-rw-r--r-- | meta/classes/useradd.bbclass | 3 |
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 | ||
103 | useradd_sysroot_sstate () { | 103 | useradd_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 = "" | |||
123 | USERADDSETSCENEDEPS_class-native = "" | 123 | USERADDSETSCENEDEPS_class-native = "" |
124 | USERADDSETSCENEDEPS_class-nativesdk = "" | 124 | USERADDSETSCENEDEPS_class-nativesdk = "" |
125 | do_package_setscene[depends] += "${USERADDSETSCENEDEPS}" | 125 | do_package_setscene[depends] += "${USERADDSETSCENEDEPS}" |
126 | do_populate_sysroot_setscene[depends] += "${USERADDSETSCENEDEPS}" | ||
126 | 127 | ||
127 | # Recipe parse-time sanity checks | 128 | # Recipe parse-time sanity checks |
128 | def update_useradd_after_parse(d): | 129 | def update_useradd_after_parse(d): |