mirror of
https://github.com/rancher/os-kernel.git
synced 2025-09-01 12:56:25 +00:00
package build files
This commit is contained in:
@@ -4,14 +4,12 @@ set -e
|
||||
: ${KERNEL_URL:="https://github.com/rancher/linux/archive/Ubuntu-3.19.0-27.29.tar.gz"}
|
||||
: ${KERNEL_SHA1:="84b9bc53bbb4dd465b97ea54a71a9805e27ae4f2"}
|
||||
: ${ARTIFACTS:=$(pwd)/assets}
|
||||
: ${BUILD:=$(pwd)/build}
|
||||
: ${BUILD:=/usr/src}
|
||||
: ${CONFIG:=$(pwd)/config}
|
||||
: ${DIST:=$(pwd)/dist}
|
||||
|
||||
DOCKER_FILE=${CONFIG}/.dockerfile
|
||||
|
||||
mkdir -p ${BUILD} ${DIST}
|
||||
|
||||
write_base()
|
||||
{
|
||||
if [ "${BASE_WRITTEN}" = "true" ]; then
|
||||
@@ -112,3 +110,10 @@ download()
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
list_build_files() {
|
||||
find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl
|
||||
find $(find ./arch/${SRCARCH} -name include -o -name scripts -type d) ./include ./scripts -type f
|
||||
find ./arch/${SRCARCH} -name module.lds -o -name Kbuild.platforms -o -name Platform
|
||||
find . -name Module.symvers -type f
|
||||
}
|
||||
|
Reference in New Issue
Block a user