mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-26 16:11:56 +02:00
build_kernel_image: fix duplicate options
Don't append common options twice. BUG=chromium-os:33220 TEST=build image, check bootargs Change-Id: I632b6a9c7726ff3838e84c51ed8cea77142ba948 Reviewed-on: https://gerrit.chromium.org/gerrit/29134 Reviewed-by: Gaurav Shah <gauravsh@chromium.org> Reviewed-by: Puneet Kumar <puneetster@chromium.org> Tested-by: Puneet Kumar <puneetster@chromium.org> Commit-Ready: Puneet Kumar <puneetster@chromium.org>
This commit is contained in:
parent
0a9d32d61b
commit
d7a8aafa54
@ -146,8 +146,7 @@ if [[ "${FLAGS_arch}" = "x86" || "${FLAGS_arch}" = "amd64" ]]; then
|
|||||||
# Legacy BIOS will use the kernel in the rootfs (via syslinux), as will
|
# Legacy BIOS will use the kernel in the rootfs (via syslinux), as will
|
||||||
# standard EFI BIOS (via grub, from the EFI System Partition). Chrome OS
|
# standard EFI BIOS (via grub, from the EFI System Partition). Chrome OS
|
||||||
# BIOS will use a separate signed kernel partition, which we'll create now.
|
# BIOS will use a separate signed kernel partition, which we'll create now.
|
||||||
cat <<EOF | cat - "${FLAGS_working_dir}/boot.config" \
|
cat <<EOF >> "${FLAGS_working_dir}/config.txt"
|
||||||
>> "${FLAGS_working_dir}/config.txt"
|
|
||||||
add_efi_memmap
|
add_efi_memmap
|
||||||
boot=local
|
boot=local
|
||||||
noresume
|
noresume
|
||||||
|
Loading…
x
Reference in New Issue
Block a user