aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-30 20:48:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-30 21:20:53 +0100
commita88603cb2ffd4f995e16349a389902eb884252e5 (patch)
tree4e838b8ab7c7de8003d461b5eb80830437314a5e /meta/classes/populate_sdk_ext.bbclass
parentfd37da3a559e0c494c7481849746ec12d492a7b2 (diff)
downloadopenembedded-core-contrib-a88603cb2ffd4f995e16349a389902eb884252e5.tar.gz
openembedded-core-contrib-a88603cb2ffd4f995e16349a389902eb884252e5.tar.bz2
openembedded-core-contrib-a88603cb2ffd4f995e16349a389902eb884252e5.zip
uninative: Switch md5sum -> sha256
There are various concerns about md5 so use sha256 instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index cabf8155b4..0ea974d4ff 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -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