create_virtualimage: we don't need md5 checks here

This commit is contained in:
Stefan Saraev 2013-01-22 20:19:21 +02:00
parent d59ef0beaa
commit 32f419c0ec

View File

@ -182,33 +182,6 @@ echo "storage size: $STORAGE_SIZE MB"
exit 1
fi
# check MD5 sums
echo ""
echo "checking MD5 sum..."
md5sumFailed()
{
echo "#########################################################"
echo "# #"
echo "# OpenELEC.tv failed md5 check - Installation will quit #"
echo "# #"
echo "# Your original download was probably corrupt. #"
echo "# Please visit www.openelec.tv and get another copy #"
echo "# #"
echo "#########################################################"
exit 1
}
md5sum -c target/KERNEL.md5
if [ "$?" = "1" ]; then
md5sumFailed
fi
md5sum -c target/SYSTEM.md5
if [ "$?" = "1" ]; then
md5sumFailed
fi
# ensure loopX not in use
echo ""
echo "next two errors can be ignored..."