LAT: upgrade to 20220508

The new version mainly supports:
- Modify grub.cfg at OS boot time in EFI secure boot
- Install multiple kernels to one image

For details, in https://github.com/Wind-River/meta-lat
the following commits are added:

aad9f83 lat-installer: set default kernel and kernel param at OS
        install time
44a22e5 genimage: do not use real time kernel in installer OS for
        debian
cb3542a genimage: support multiple kernels for debian
170df7d debian/ostree: support multiple kernels
8ec7c6a grub-efi: load kernel.env to choose which kernel to boot
88bcd8a grub-efi: support to modify grub.cfg at OS boot time
4e51daa mttyexec: fix no output to file
25e5d7d mttyexec: fix do_compile error
eab4b48 genimage: search root in grub.cfg
5900abe wic: fix EFI of USB's ISO not detected on dell-9010 host
06e6b92 lat installer: add boot parameter efibootfirst=1
95f5d70 lat installer: insert a hook to report error log
5cec871 lat installer && mttyexec: save output of install
452350f lat installer: do not call dhcp for local kickstart
2004330 package-index bbappend: add missing depends task
9cdcb08 lat installer: improve kickstart hook position
9d341a8 lat installer: filter out installer ISO from prompt
f7e9bef lat installer: do not install to disk of installer ISO image
774c067 lat installer: fix conflict of multiple installer ISO image

Story: 2009964
Task: 45311

PASS - Rebuild LAT container
PASS - Build ISO
PASS - ISO install on Qemu, PXE EFI install on Edgeline e920t, edit grub.cfg

Depends-On: https://review.opendev.org/c/starlingx/integ/+/841120

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Change-Id: Id7f3c6272fdbf40ef87fc8aa512f152e12b4611f
This commit is contained in:
Hongxu Jia
2022-05-09 15:00:40 +08:00
parent 522819005a
commit 1b5e316ce5
2 changed files with 4 additions and 1 deletions

View File

@@ -175,6 +175,7 @@ iso-post-script: |
# 2.3.6 Add `Boot from hard drive' entry to grub.cfg
cat <<ENDOF>> pxeboot/EFI/BOOT/grub.cfg
export skip_check_cfg
menuentry 'UEFI Boot from hard drive' {
search --set=root --label otaefi
configfile /efi/boot/grub.cfg
@@ -222,6 +223,8 @@ iso-post-script: |
--passphrase-fd 0 \
EFI/BOOT/grub.cfg
fi
multiple-kernels: vmlinuz-*-amd64
default-kernel: vmlinuz-*-amd64
system:
- contains:
- /localdisk/deploy/lat-initramfs.yaml

View File

@@ -16,7 +16,7 @@ FROM debian:bullseye
MAINTAINER Chen Qi <Qi.Chen@windriver.com>
ARG LAT_BINARY_RESOURCE_PATH=http://mirror.starlingx.cengn.ca/mirror/lat-sdk/lat-sdk-20220420
ARG LAT_BINARY_RESOURCE_PATH=http://mirror.starlingx.cengn.ca/mirror/lat-sdk/lat-sdk-20220508
# Install necessary packages
RUN apt-get -y update && apt-get --no-install-recommends -y install \