* ALTERNATIVE_LINK_NAME in bash recipe doesn't create /bin/sh
@ 2021-08-09 20:42 Devendra Tewari
2021-08-09 21:36 ` Devendra Tewari
0 siblings, 1 reply; 3+ messages in thread
From: Devendra Tewari @ 2021-08-09 20:42 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 342 bytes --]
Hello,
I've added bash recipe (version 5.1.8) to a target but it does not seem to produce the /bin/sh link. I've checked that the recipe is supposed to provide the following link
ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
Is that by itself sufficient to produce the link? If so, it does not seem to do so.
Thanks,
Devendra
[-- Attachment #2: Type: text/html, Size: 378 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ALTERNATIVE_LINK_NAME in bash recipe doesn't create /bin/sh
2021-08-09 20:42 ALTERNATIVE_LINK_NAME in bash recipe doesn't create /bin/sh Devendra Tewari
@ 2021-08-09 21:36 ` Devendra Tewari
2021-08-18 10:25 ` Devendra Tewari
0 siblings, 1 reply; 3+ messages in thread
From: Devendra Tewari @ 2021-08-09 21:36 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
To provide more context, these are the ALTERNATIVE variables in the recipe around ALTERNATIVE_LINK_NAME[sh]
ALTERNATIVE:${PN} = "bash sh"
ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash"
ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash"
ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash.${BPN}"
Based on earlier messages on ALTERNATIVE_LINK_NAME and ALTERNATIVE_TARGET, I have arrived at the conclusion that a link should be created but isn't.
Thanks,
Devendra
[-- Attachment #2: Type: text/html, Size: 2194 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ALTERNATIVE_LINK_NAME in bash recipe doesn't create /bin/sh
2021-08-09 21:36 ` Devendra Tewari
@ 2021-08-18 10:25 ` Devendra Tewari
0 siblings, 0 replies; 3+ messages in thread
From: Devendra Tewari @ 2021-08-18 10:25 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 123 bytes --]
Looks like update-alternatives --install is not happening at all for any packages during do_rootfs.
Thanks,
Devendra
[-- Attachment #2: Type: text/html, Size: 139 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-18 10:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09 20:42 ALTERNATIVE_LINK_NAME in bash recipe doesn't create /bin/sh Devendra Tewari
2021-08-09 21:36 ` Devendra Tewari
2021-08-18 10:25 ` Devendra Tewari
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.