debian/grub: Adapt Linux commandline to ACRN scenario settings

Read kernel boot parameters for ACRN Service VM from respective ACRN scenario
and add them to the kernel commanline in generated grub configuration.

The only exception is removing the root=XXX kernel parameter as given
in the scenario configuration, since grub helper scripts on Debian/Ubuntu
systems detect the root partition automatically.

Tracked-On: #6688
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
This commit is contained in:
Helmut Buchsbaum
2022-05-02 22:29:43 +02:00
committed by acrnsi-robot
parent bcb4c83ffa
commit a75ac7e77f
2 changed files with 58 additions and 23 deletions

2
debian/control vendored
View File

@@ -74,7 +74,7 @@ Description: ACRN Hypervisor for IoT
Package: grub-acrn
Section: admin
Architecture: any-amd64
Depends: ${misc:Depends}, grub-efi-amd64
Depends: ${misc:Depends}, grub-efi-amd64, libxml2-utils
Description: Grub setup scripts for ACRN Hypervisor
This package provides additional scripts to fit into the Grub bootloader config
creation. It supports generating the respective Grub boot entries for an ACRN