mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
uninative: Switch md5sum -> sha256
There are various concerns about md5 so use sha256 instead. (From OE-Core rev: a88603cb2ffd4f995e16349a389902eb884252e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -328,7 +328,7 @@ install_tools() {
|
||||
install $buildtools_path ${SDK_OUTPUT}/${SDKPATH}
|
||||
|
||||
# For now this is where uninative.bbclass expects the tarball
|
||||
chksum=`md5sum ${SDK_DEPLOY}/${BUILD_ARCH}-nativesdk-libc.tar.bz2 | cut -f 1 -d ' '`
|
||||
chksum=`sha256sum ${SDK_DEPLOY}/${BUILD_ARCH}-nativesdk-libc.tar.bz2 | cut -f 1 -d ' '`
|
||||
install -d ${SDK_OUTPUT}/${SDKPATH}/downloads/uninative/$chksum/
|
||||
install ${SDK_DEPLOY}/${BUILD_ARCH}-nativesdk-libc.tar.bz2 ${SDK_OUTPUT}/${SDKPATH}/downloads/uninative/$chksum/
|
||||
echo "UNINATIVE_CHECKSUM[${BUILD_ARCH}] = '$chksum'" >> ${SDK_OUTPUT}/${SDKPATH}/conf/local.conf
|
||||
|
||||
Reference in New Issue
Block a user