1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-09-02 21:34:49 +00:00

gzip and download the compiled kernel

This commit is contained in:
Ivan Mikushin
2015-08-05 22:31:12 +05:00
parent 4fe3d1044f
commit 6d70aeb8ae
2 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,6 @@ cleanup() {
docker rm -v ${DIST_CONTAINER}
}
trap cleanup EXIT
docker cp ${DIST_CONTAINER}:/source/dist/artifacts dist
docker cp ${DIST_CONTAINER}:/source/dist/kernel dist
ls -l dist/artifacts
ls -lh dist/kernel

View File

@@ -32,4 +32,5 @@ make -j$(nproc) tar-pkg
mkdir -p ${DIST}/kernel
mv linux*.tar ${DIST}/kernel
gzip ${DIST}/kernel/linux*.tar
make headers_install INSTALL_HDR_PATH=${DIST}/kernel/headers