Compress arm/armv6 images before generating checksums to reduce

image size for download.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2014-01-28 17:23:44 +00:00
parent f2d505cd53
commit 476a484ecb

View File

@ -89,8 +89,9 @@ main() {
-c /tmp/external/${XDEV}/crochet-${KERNEL}.conf
mkdir -p ${CHROOTDIR}/R/
cp -p ${CHROOTDIR}/usr/obj/*.img ${CHROOTDIR}/R/
cd ${CHROOTDIR}/R/ && sha256 FreeBSD*.img > CHECKSUM.SHA256
cd ${CHROOTDIR}/R/ && md5 FreeBSD*.img > CHECKSUM.MD5
bzip2 ${CHROOTDIR}/R/FreeBSD*.img
cd ${CHROOTDIR}/R/ && sha256 FreeBSD*.img.bz2 > CHECKSUM.SHA256
cd ${CHROOTDIR}/R/ && md5 FreeBSD*.img.bz2 > CHECKSUM.MD5
}
main "$@"