mirror of
https://github.com/rancher/os-kernel.git
synced 2025-06-29 15:06:49 +00:00
when build kernel and run the following command: `create_firmware_tar /source/scripts/firmware` will cause error: scripts/build-common: line 140: /source/scripts/firmware: No such file or directory This patch fix that by copy firmware file into container. Signed-off-by: Wang Long <long.wanglong@huawei.com>
18 lines
315 B
Bash
Executable File
18 lines
315 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
DOCKER_IMAGE=${DOCKER_IMAGE:=rancher-os-kernel-build}
|
|
|
|
source scripts/build-common
|
|
|
|
run --assets ./scripts/build-common \
|
|
./scripts/bootstrap
|
|
run ./scripts/download
|
|
run --assets ./scripts/firmware
|
|
run --assets ./config/kernel-config \
|
|
./scripts/build-kernel
|
|
|
|
finish
|