diff options
-rw-r--r-- | meta/classes/useradd.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index 4e4ac032e4..27647cbc8b 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass | |||
@@ -90,7 +90,7 @@ useradd_sysroot () { | |||
90 | } | 90 | } |
91 | 91 | ||
92 | useradd_sysroot_sstate () { | 92 | useradd_sysroot_sstate () { |
93 | if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] | 93 | if [ "${BB_CURRENTTASK}" = "package_setscene" ] |
94 | then | 94 | then |
95 | useradd_sysroot | 95 | useradd_sysroot |
96 | fi | 96 | fi |
@@ -100,7 +100,7 @@ do_install[prefuncs] += "${SYSROOTFUNC}" | |||
100 | SYSROOTFUNC = "useradd_sysroot" | 100 | SYSROOTFUNC = "useradd_sysroot" |
101 | SYSROOTFUNC_virtclass-native = "" | 101 | SYSROOTFUNC_virtclass-native = "" |
102 | SYSROOTFUNC_virtclass-nativesdk = "" | 102 | SYSROOTFUNC_virtclass-nativesdk = "" |
103 | SSTATEPOSTINSTFUNCS += "${SYSROOTPOSTFUNC}" | 103 | SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" |
104 | SYSROOTPOSTFUNC = "useradd_sysroot_sstate" | 104 | SYSROOTPOSTFUNC = "useradd_sysroot_sstate" |
105 | SYSROOTPOSTFUNC_virtclass-native = "" | 105 | SYSROOTPOSTFUNC_virtclass-native = "" |
106 | SYSROOTPOSTFUNC_virtclass-nativesdk = "" | 106 | SYSROOTPOSTFUNC_virtclass-nativesdk = "" |