On Thu, 23 Jan 2025 at 21:12, Marek Vasut via lists.openembedded.org
<[email protected]> wrote:

>  # 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)}"
> +RPROVIDES:${PN}:append:class-target = " 
> ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/bash', '', d)}"

This was added for a reason (that you can find in git history), if we
partially remove it, then the reason will come back and bite us.

What I'd like to understand is how bash's postinst is actually failing
when /etc/shells is not there yet:

grep -q "^${base_bindir}/bash$" $D${sysconfdir}/shells || echo
${base_bindir}/bash >> $D${sysconfdir}/shells

Basically you either need to show me how to reproduce the issue, or
show an error message you're getting, or an incorrect outcome on the
rootfs.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#210220): 
https://lists.openembedded.org/g/openembedded-core/message/210220
Mute This Topic: https://lists.openembedded.org/mt/110778651/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to