1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Build script changes

This commit is contained in:
Darren Shepherd
2015-02-19 11:26:59 -07:00
parent 7c17cc7825
commit 6e87ea3981
11 changed files with 62 additions and 26 deletions

View File

@@ -10,7 +10,12 @@ cp scripts/dockerimages/scripts/os-dockerfile ${BUILD}/initrd/Dockerfile
cd ${BUILD}/initrd
find | cpio -H newc -o | lzma -c > ${DIST}/artifacts/initrd
if [ "--dev" = "$1" ]; then
find | cpio -H newc -o > ${DIST}/artifacts/initrd
cp ${DIST}/artifacts/initrd ${DIST}/artifacts/initrd.none
else
find | cpio -H newc -o | lzma -c > ${DIST}/artifacts/initrd
fi
CD=${BUILD}/cd