mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 05:15:25 +02:00
containers: add a dummy provider for /bin/sh and /bin/env
In some scenarios (and package managers), packages post install scripts may have references to /bin/sh. The package manager doesn't know if the scripts will run on the build host or target, so we get a calculated redepnds on /bin/sh base-files and base-passwd fall into this category of having post installs, but no need for /bin/sh on the target. If you know what you are installing, and want the smallest container possible, this package will satisfy the dependency when assembling the rootfs. To enable it, put the following in a configuration file (local.conf or otherwise): PACKAGE_EXTRA_ARCHS_append = " container-dummy-provides" Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
74e0b8d2ac
commit
e9a8756758
6
recipes-core/meta/container-dummy-provides.bb
Normal file
6
recipes-core/meta/container-dummy-provides.bb
Normal file
|
@ -0,0 +1,6 @@
|
|||
DUMMYARCH = "container-dummy-provides"
|
||||
DUMMYPROVIDES = "\
|
||||
/bin/sh \
|
||||
/usr/bin/env \
|
||||
"
|
||||
require recipes-core/meta/dummy-sdk-package.inc
|
Loading…
Reference in New Issue
Block a user