mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 03:19:41 +01:00
bash: nativesdk-bash does not provide /bin/bash so don't claim to
The package nativesdk-sdk-provides-dummy already provides /bin/sh and /bin/bash and
nativesdk-bash does not provide them, it provides them in ${nativesdk_bindir}. Tweak
the definition to class-target only to avoid this.
[RP: Tweaked wording to clarify]
(From OE-Core rev: 4362867cc21a0b8ec6a780258859ce8b7c13ae02)
Signed-off-by: Maanya Goenka <maanyagoenka@microsoft.com>
Signed-off-by : Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0fe85ce0c6
commit
9382d731bd
@@ -128,4 +128,6 @@ PACKAGE_BEFORE_PN += "${PN}-loadable"
|
||||
RDEPENDS:${PN}-loadable += "${PN}"
|
||||
FILES:${PN}-loadable += "${libdir}/bash/*"
|
||||
|
||||
RPROVIDES:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh /bin/bash', '', d)}"
|
||||
# Limit the RPROVIDES here to class target so that if usrmerge is enabled for nativesdk, it does not
|
||||
# include host system paths in /bin/
|
||||
RPROVIDES:${PN}:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh /bin/bash', '', d)}"
|
||||
|
||||
Reference in New Issue
Block a user