mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 15:41:04 +02:00
Fix build break on factory install kernel
BUG=chrome-os-partner:6384 TEST=it can netboot Change-Id: I5bc3a64f2a70b6740791a68e25cb44536236c41b Reviewed-on: http://gerrit.chromium.org/gerrit/5538 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: Nick Sanders <nsanders@chromium.org>
This commit is contained in:
parent
1b27797710
commit
2027ca8dfb
@ -66,10 +66,6 @@ fi
|
||||
sudo rm -rf netboot
|
||||
mkdir -p netboot
|
||||
|
||||
# Get netboot kernel.
|
||||
echo "Generating netboot kernel vmlinux.uimg"
|
||||
cp "${SYSROOT}/boot/vmlinux.uimg" "netboot"
|
||||
|
||||
# Get netboot firmware.
|
||||
# TODO(nsanders): Set default IP here when userspace
|
||||
# env modification is available.
|
||||
@ -119,6 +115,11 @@ sudo mount -o loop part_3 r
|
||||
sudo mount -o loop part_1 s
|
||||
echo "Mount install shim rootfs (partition 3)"
|
||||
|
||||
# Get netboot kernel.
|
||||
echo "Generating netboot kernel vmlinux.uimg"
|
||||
cp "r/boot/vmlinux.uimg" "netboot"
|
||||
|
||||
echo "Add lsb-factory"
|
||||
# Copy factory config file.
|
||||
# TODO(nsanders): switch this to u-boot env var config.
|
||||
LSB_FACTORY_DIR="mnt/stateful_partition/dev_image/etc"
|
||||
|
Loading…
x
Reference in New Issue
Block a user