[OE-core] [PATCH V3 1/2] populate_sdk_ext: install the latest buildtools-tarball

Khem Raj raj.khem at gmail.com
Wed May 13 01:56:18 UTC 2015


> On May 12, 2015, at 6:45 PM, ChenQi <Qi.Chen at windriver.com> wrote:
> 
> On 05/13/2015 12:19 AM, Khem Raj wrote:
>>> On May 11, 2015, at 11:19 PM, Chen Qi <Qi.Chen at windriver.com> wrote:
>>> 
>>> -	install ${SDK_DEPLOY}/${DISTRO}-${TCLIBC}-${SDK_ARCH}-buildtools-tarball-${TUNE_PKGARCH}-buildtools-nativesdk-standalone-${DISTRO_VERSION}.sh ${SDK_OUTPUT}/${SDKPATH}
>>> +	# find latest buildtools-tarball and install it
>>> +	buildtools_path=`ls -t1 ${SDK_DEPLOY}/${DISTRO}-${TCLIBC}-${SDK_ARCH}-buildtools-tarball-${TUNE_PKGARCH}-buildtools-nativesdk-standalone-*.sh | head -n1`
>>> +	install $buildtools_path ${SDK_OUTPUT}/${SDKPATH}
>>> 
>> why not create a symink instead of poking using wild chars
> 
> Because it's simpler.

what happens if I touch an older installer ?

> 
> //Chen Qi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150512/e6368acd/attachment-0002.sig>


More information about the Openembedded-core mailing list