Date: Mon, 2 Mar 2015 18:04:58 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279532 - head/release/arm Message-ID: <201503021804.t22I4w3a094243@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gjb Date: Mon Mar 2 18:04:57 2015 New Revision: 279532 URL: https://svnweb.freebsd.org/changeset/base/279532 Log: Use xz(1) to compress FreeBSD/arm images. Sponsored by: The FreeBSD Foundation Modified: head/release/arm/release.sh Modified: head/release/arm/release.sh ============================================================================== --- head/release/arm/release.sh Mon Mar 2 17:30:26 2015 (r279531) +++ head/release/arm/release.sh Mon Mar 2 18:04:57 2015 (r279532) @@ -99,6 +99,7 @@ main() { BRANCH=$(chroot ${CHROOTDIR} make -C /usr/src/release -V BRANCH) UNAME_r=${REVISION}-${BRANCH} export UNAME_r + export XZ_CMD=$(make -C /usr/src/release -V XZ_CMD) # Build the 'xdev' target for crochet. eval chroot ${CHROOTDIR} make -C /usr/src \ @@ -146,9 +147,9 @@ main() { -c /tmp/external/${XDEV}/crochet-${KERNEL}.conf mkdir -p ${CHROOTDIR}/R/ cp -p ${CHROOTDIR}/usr/obj/*.img ${CHROOTDIR}/R/ - bzip2 ${CHROOTDIR}/R/FreeBSD*.img - cd ${CHROOTDIR}/R/ && sha256 FreeBSD*.img.bz2 > CHECKSUM.SHA256 - cd ${CHROOTDIR}/R/ && md5 FreeBSD*.img.bz2 > CHECKSUM.MD5 + ${XZ_CMD} ${CHROOTDIR}/R/FreeBSD*.img + cd ${CHROOTDIR}/R/ && sha256 FreeBSD*.img.xz > CHECKSUM.SHA256 + cd ${CHROOTDIR}/R/ && md5 FreeBSD*.img.xz > CHECKSUM.MD5 } main "$@"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503021804.t22I4w3a094243>