summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/useradd.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 928f619b7c..ef1a9cec9f 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -3,6 +3,7 @@
3# and support files needed to add and modify user and group accounts 3# and support files needed to add and modify user and group accounts
4DEPENDS_append = "${USERADDDEPENDS}" 4DEPENDS_append = "${USERADDDEPENDS}"
5USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow" 5USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow"
6USERADDDEPENDS_virtclass-native = ""
6USERADDDEPENDS_virtclass-nativesdk = "" 7USERADDDEPENDS_virtclass-nativesdk = ""
7 8
8# This preinstall function will be run in two contexts: once for the 9# This preinstall function will be run in two contexts: once for the
@@ -97,9 +98,11 @@ useradd_sysroot_sstate () {
97 98
98do_install[prefuncs] += "${SYSROOTFUNC}" 99do_install[prefuncs] += "${SYSROOTFUNC}"
99SYSROOTFUNC = "useradd_sysroot" 100SYSROOTFUNC = "useradd_sysroot"
101SYSROOTFUNC_virtclass-native = ""
100SYSROOTFUNC_virtclass-nativesdk = "" 102SYSROOTFUNC_virtclass-nativesdk = ""
101SSTATEPOSTINSTFUNCS += "${SYSROOTPOSTFUNC}" 103SSTATEPOSTINSTFUNCS += "${SYSROOTPOSTFUNC}"
102SYSROOTPOSTFUNC = "useradd_sysroot_sstate" 104SYSROOTPOSTFUNC = "useradd_sysroot_sstate"
105SYSROOTPOSTFUNC_virtclass-native = ""
103SYSROOTPOSTFUNC_virtclass-nativesdk = "" 106SYSROOTPOSTFUNC_virtclass-nativesdk = ""
104 107
105# Recipe parse-time sanity checks 108# Recipe parse-time sanity checks