From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: ALTERNATIVE_LINK_NAME in bash recipe doesn't create /bin/sh To: openembedded-core@lists.openembedded.org From: "Devendra Tewari" X-Originating-Location: Recife, Pernambuco, BR (177.19.53.12) X-Originating-Platform: Mac Safari 14.1 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 09 Aug 2021 14:36:12 -0700 References: In-Reply-To: Message-ID: <17540.1628544972358866806@lists.openembedded.org> Content-Type: multipart/alternative; boundary="REzulVdFhwVQVBt7PuMO" --REzulVdFhwVQVBt7PuMO Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To provide more context, these are the ALTERNATIVE variables in the recipe = around=C2=A0ALTERNATIVE_LINK_NAME[sh] ALTERNATIVE:${PN} =3D "bash sh" ALTERNATIVE_LINK_NAME[bash] =3D "${base_bindir}/bash" ALTERNATIVE_TARGET[bash] =3D "${base_bindir}/bash" ALTERNATIVE_LINK_NAME[sh] =3D "${base_bindir}/sh" ALTERNATIVE_TARGET[sh] =3D "${base_bindir}/bash.${BPN}" Based on earlier messages on=C2=A0ALTERNATIVE_LINK_NAME and ALTERNATIVE_TAR= GET, I have arrived at the conclusion that a link should be created but isn= 't. Thanks, Devendra --REzulVdFhwVQVBt7PuMO Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable To provide more context, these are the ALTERNATIVE variables= in the recipe around ALTERNATIVE_LINK_NAME[sh]
<= br style=3D"caret-color: #ffffff; color: #ffffff; font-family: Helvetica; f= ont-size: 12px; --darkreader-inline-color: #e8e6e3;" data-darkreader-inline= -color=3D"" />
ALTERNATIVE:${PN} =3D "bash sh"
ALTERNATIVE_LINK_NAME[bash] =3D "${base_bindir}/bash"
ALTERNATIVE_TARGET[bash] =3D "${base_bindir}/bash"
ALTERNATIVE_LINK_NAME[sh] =3D "${base_bindir}/sh"
ALTERNATIVE_TARGET[sh] =3D "${base_bindir}/bash.${BPN}"

Based on earlier messages on ALTERNATIVE_LINK_NAME= and ALTERNATIVE_TARGET, I have arrived at the conclusion that a link shoul= d be created but isn't.

Thanks,
Devendra
--REzulVdFhwVQVBt7PuMO--