1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-06-29 15:06:49 +00:00
os-kernel/scripts/ci
Wang Long 90ad7efe9e Add the missing file scripts/firmware
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>
2015-10-13 17:01:32 +08:00

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