mirror of
https://github.com/rancher/os-kernel.git
synced 2025-09-03 13:54:32 +00:00
gzip and download the compiled kernel
This commit is contained in:
4
build.sh
4
build.sh
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user