1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Build script updates

Always compress with gzip unless we are doing a release.  Also download
rootfs.tar to ${DOWNLOAD} so `dapper -m bind` works better.
This commit is contained in:
Darren Shepherd
2016-06-17 07:59:11 -07:00
parent b6ddb4f577
commit 2a60981b09
5 changed files with 14 additions and 4 deletions

View File

@@ -6,4 +6,4 @@ cd $(dirname $0)
./build
./prepare
INSTALLER=0 COMPRESS="gzip -1" ROOTFS=0 ./package
INSTALLER=0 ROOTFS=0 ./package

View File

@@ -11,7 +11,7 @@ INITRD=${ARTIFACTS}/initrd
mkdir -p ${ARTIFACTS}
if [ "$COMPRESS" == "" ]; then
COMPRESS=lzma
COMPRESS="gzip -1"
fi
cd ${INITRD_DIR}

View File

@@ -3,5 +3,6 @@ set -e
source $(dirname $0)/version
export REPO_VERSION=$VERSION
export COMPRESS=lzma
exec $(dirname $0)/ci