mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Install kernels on partition 12 on arm
This is needed on some ARM boards where ext2 filesystem reading isn't an option, and where verified boot isn't in use, i.e. with legacy firmware. x86 stores the kernel here as well. BUG=none TEST=build_image on an arm board and check contents for vmlinuz.A and vmlinuz.uimg.A on partition 12 CQ-DEPEND=I81df8471fba34e264ada8fd6f12122d87fbf22d9 Change-Id: I39541644845dde4ff6ddc288afa0ed339ab0d05b Signed-off-by: Olof Johansson <olofj@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/12996
This commit is contained in:
parent
bc36d041f0
commit
2c994ad1ca
@ -243,6 +243,8 @@ elif [[ "${FLAGS_arch}" = "arm" ]]; then
|
||||
sudo mkdir -p "${ESP_FS_DIR}/u-boot"
|
||||
sudo cp "${FLAGS_from}/boot-A.scr.uimg" \
|
||||
"${ESP_FS_DIR}/u-boot/boot.scr.uimg"
|
||||
sudo cp -f "${FLAGS_from}"/vmlinuz "${ESP_FS_DIR}"/vmlinuz.uimg.A
|
||||
sudo cp -f "${FLAGS_from}"/zImage "${ESP_FS_DIR}"/vmlinuz.A
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user