mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
useradd: Ensure dependencies are only added for target recipes, not native or nativesdk
(From OE-Core rev: 63d006b2d3fc2223c74f81b91f70f5c841108c80) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -111,7 +111,10 @@ SYSROOTPOSTFUNC = "useradd_sysroot_sstate"
|
|||||||
SYSROOTPOSTFUNC_virtclass-native = ""
|
SYSROOTPOSTFUNC_virtclass-native = ""
|
||||||
SYSROOTPOSTFUNC_virtclass-nativesdk = ""
|
SYSROOTPOSTFUNC_virtclass-nativesdk = ""
|
||||||
|
|
||||||
do_package_setscene[depends] = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene shadow-sysroot:do_populate_sysroot_setscene"
|
USERADDSETSCENEDEPS = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene shadow-sysroot:do_populate_sysroot_setscene
|
||||||
|
USERADDSETSCENEDEPS_virtclass-native = ""
|
||||||
|
USERADDSETSCENEDEPS_virtclass-nativesdk = ""
|
||||||
|
do_package_setscene[depends] = "${USERADDSETSCENEDEPS}"
|
||||||
|
|
||||||
# Recipe parse-time sanity checks
|
# Recipe parse-time sanity checks
|
||||||
def update_useradd_after_parse(d):
|
def update_useradd_after_parse(d):
|
||||||
|
|||||||
Reference in New Issue
Block a user