1
0
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:
Richard Purdie
2016-03-30 20:48:58 +01:00
parent f719386841
commit 1b2df6e942
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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