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

Optimize scripts for slow disks

This commit is contained in:
Darren Shepherd
2016-06-06 19:25:36 -07:00
parent e1d29fbab7
commit 57a2f99484
2 changed files with 34 additions and 33 deletions

View File

@@ -28,9 +28,9 @@ if [ -e ${DOWNLOADS}/kernel.tar.gz ]; then
mkdir -p ${BUILD}/kernel
tar xf ${DOWNLOADS}/kernel.tar.gz -C ${BUILD}/kernel
if [ -e ${BUILD}/kernel/boot/vmlinuz-* ]; then
if [ -e ${BUILD}/kernel/boot/vmlinu* ]; then
mkdir -p dist/artifacts
cp ${BUILD}/kernel/boot/vmlinuz-* dist/artifacts/vmlinuz
cp ${BUILD}/kernel/boot/vmlinu* dist/artifacts/vmlinuz
fi
if [ -d ${BUILD}/kernel/lib ]; then