diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2023-07-30 18:33:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-01 15:37:19 +0100 |
commit | bed1597caf18a3a40f734b38ebfa0c01a1cb7eae (patch) | |
tree | 5d4c1477034aefccabbd9f8c7d3a2c60b843b383 /meta-poky/conf | |
parent | 61bcec8a28c710bab8917267d72b504bb3395188 (diff) | |
download | poky-bed1597caf18a3a40f734b38ebfa0c01a1cb7eae.tar.gz |
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>
Diffstat (limited to 'meta-poky/conf')
-rw-r--r-- | meta-poky/conf/distro/poky-tiny.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf index f65d2dabf3..728d161d59 100644 --- a/meta-poky/conf/distro/poky-tiny.conf +++ b/meta-poky/conf/distro/poky-tiny.conf | |||
@@ -122,3 +122,7 @@ SKIP_RECIPE[core-image-weston] = "not buildable with poky-tiny" | |||
122 | 122 | ||
123 | # Disable python usage in opkg-utils since it won't build with tiny config | 123 | # Disable python usage in opkg-utils since it won't build with tiny config |
124 | PACKAGECONFIG:remove:pn-opkg-utils = "python" | 124 | PACKAGECONFIG:remove:pn-opkg-utils = "python" |
125 | |||
126 | # If shadow-base is brought into the image, logins will fail because it | ||
127 | # doesn't have the heuristics to work when CONFIG_MULTIUSER is unset. | ||
128 | PACKAGE_EXCLUDE:poky-tiny = "shadow-base" | ||