mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
poky/poky-tiny: Explicitly exclude shadow
`login` from busybox has explicit heuristics to handle CONFIG_MULTIUSER
unset (i.e. a kernel without non-root users, groups or capabilities),
bringing in the shadow version of `login` causes obscure failures at
runtime ("setgid: Function not implemented"), instead exclude it here so
anyone who includes it (likely accidentally) will at least get a build
time failure.
(From meta-yocto rev: be22c2923a0cdf60ab60012668382e55a3618f2b)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
61bcec8a28
commit
bed1597caf
|
|
@ -122,3 +122,7 @@ SKIP_RECIPE[core-image-weston] = "not buildable with poky-tiny"
|
|||
|
||||
# Disable python usage in opkg-utils since it won't build with tiny config
|
||||
PACKAGECONFIG:remove:pn-opkg-utils = "python"
|
||||
|
||||
# If shadow-base is brought into the image, logins will fail because it
|
||||
# doesn't have the heuristics to work when CONFIG_MULTIUSER is unset.
|
||||
PACKAGE_EXCLUDE:poky-tiny = "shadow-base"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user