mirror of
https://github.com/rancher/os.git
synced 2025-07-16 08:05:51 +00:00
Always compress with gzip unless we are doing a release. Also download rootfs.tar to ${DOWNLOAD} so `dapper -m bind` works better.
10 lines
124 B
Bash
Executable File
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
|