diff options
author | Maanya Goenka <maanyagoenka@microsoft.com> | 2024-02-01 02:56:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-15 15:15:05 +0000 |
commit | 9382d731bdcbdbd029813a5b46d13b0c0ff18706 (patch) | |
tree | b5b224e8d2a681061f7571e2b1922a430eff494e /meta/recipes-extended | |
parent | 0fe85ce0c6708438fe6f6a33488f54b34b6d82d1 (diff) | |
download | poky-9382d731bdcbdbd029813a5b46d13b0c0ff18706.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 18874a0e24..2c3e605511 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
@@ -128,4 +128,6 @@ PACKAGE_BEFORE_PN += "${PN}-loadable" | |||
128 | RDEPENDS:${PN}-loadable += "${PN}" | 128 | RDEPENDS:${PN}-loadable += "${PN}" |
129 | FILES:${PN}-loadable += "${libdir}/bash/*" | 129 | FILES:${PN}-loadable += "${libdir}/bash/*" |
130 | 130 | ||
131 | RPROVIDES:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh /bin/bash', '', d)}" | 131 | # Limit the RPROVIDES here to class target so that if usrmerge is enabled for nativesdk, it does not |
132 | # include host system paths in /bin/ | ||
133 | RPROVIDES:${PN}:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh /bin/bash', '', d)}" | ||