1
0
mirror of https://github.com/rancher/os.git synced 2025-07-16 08:05:51 +00:00
os/images/00-rootfs/prebuild.sh
Darren Shepherd 2a60981b09 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.
2016-06-17 08:00:33 -07:00

10 lines
124 B
Bash
Executable File

#!/bin/bash
TAR=${DOWNLOADS}/rootfs.tar
if [ -e $TAR ]; then
cd $(dirname $0)
mkdir -p build
cp $TAR build
fi