diff options
| author | 2026-02-11 20:35:42 +0100 | |
|---|---|---|
| committer | 2026-02-16 21:32:50 +0000 | |
| commit | 72b724357e57602f574c1acf2ee7618fd18a9fbf (patch) | |
| tree | 12da584616faa7214ec93d7e6dbac1edfb8f8ae7 | |
| parent | e77b02f5d7e34d8b9fd3674970dc26448c3b9f50 (diff) | |
| download | kiwi-descriptions-72b724357e57602f574c1acf2ee7618fd18a9fbf.tar.gz kiwi-descriptions-72b724357e57602f574c1acf2ee7618fd18a9fbf.zip | |
liveinstall: Use kernel-uki-dtbloader kernel on aarch64
For aarch64 liveinstall images we want to replace the kernel-core package
with kernel-uki-dtbloader for:
https://fedoraproject.org/wiki/Changes/Automatic_DTB_selection_for_aarch64_EFI_systems
This is implemented by:
1. Adding a new BootCoreLive profile which is the same as the BootCore
profile and re-uses most of the description. Rreplacing the kernel-core
package with kernel-uki-dtbloader on aarch64.
2. Switch the LiveInstall from the BootCore profile to the BootCoreLive
profile.
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
| -rw-r--r-- | components/boot.xml | 16 | ||||
| -rw-r--r-- | components/liveinstall.xml | 2 |
2 files changed, 13 insertions, 5 deletions
diff --git a/components/boot.xml b/components/boot.xml index 59bd862..c251e7f 100644 --- a/components/boot.xml +++ b/components/boot.xml @@ -2,6 +2,7 @@ <profiles> <profile name="BootCore" description="Boot core packages"/> <profile name="BootCoreUKI" description="Boot core packages for UKI"/> + <profile name="BootCoreLive" description="Boot core packages for Live DVDs"/> <profile name="BootDiskCore" description="Boot disk core configuration"> <requires profile="BaseCommon"/> <requires profile="HardwareCommon"/> @@ -81,10 +82,10 @@ </oemconfig> </type> </preferences> - <packages type="bootstrap" patternType="plusRecommended" profiles="BootCore,BootCoreUKI"> + <packages type="bootstrap" patternType="plusRecommended" profiles="BootCore,BootCoreUKI,BootCoreLive"> <package name="grubby"/> </packages> - <packages type="image" patternType="plusRecommended" profiles="BootCore"> + <packages type="image" patternType="plusRecommended" profiles="BootCore,BootCoreLive"> <package name="grub2-efi-aa64" arch="aarch64"/> <package name="grub2-efi-aa64-modules" arch="aarch64"/> <package name="grub2-efi-riscv64" arch="riscv64"/> @@ -101,10 +102,17 @@ <package name="shim-signed-ia32" arch="x86_64"/> <package name="shim-signed-x64" arch="x86_64"/> <package name="shim-unsigned-riscv64" arch="riscv64"/> - <package name="kernel-core"/> <package name="systemd-oomd-defaults"/> <package name="systemd-resolved"/> </packages> + <packages type="image" patternType="plusRecommended" profiles="BootCore"> + <package name="kernel-core"/> + </packages> + <packages type="image" patternType="plusRecommended" profiles="BootCoreLive"> + <!-- Use kernel-uki-dtbloader for aarch64 --> + <package name="kernel-core" arch="x86_64,riscv64,ppc64le,s390x"/> + <package name="kernel-uki-dtbloader" arch="aarch64"/> + </packages> <packages type="image" patternType="plusRecommended" profiles="BootCoreUKI"> <package name="shim-signed-aa64" arch="aarch64"/> <package name="shim-signed-ia32" arch="x86_64"/> @@ -116,7 +124,7 @@ <package name="python3-virt-firmware"/> <package name="uki-direct"/> </packages> - <packages type="iso" patternType="plusRecommended" profiles="BootCore"> + <packages type="iso" patternType="plusRecommended" profiles="BootCore,BootCoreLive"> <package name="grub2-efi-aa64-cdboot" arch="aarch64"/> <package name="grub2-efi-riscv64-cdboot" arch="riscv64"/> <package name="grub2-efi-ia32-cdboot" arch="x86_64"/> diff --git a/components/liveinstall.xml b/components/liveinstall.xml index 4ba9bfd..c324769 100644 --- a/components/liveinstall.xml +++ b/components/liveinstall.xml @@ -2,7 +2,7 @@ <profiles> <profile name="LiveInstall" description="Live Install ISO"> <requires profile="BaseCommon"/> - <requires profile="BootCore"/> + <requires profile="BootCoreLive"/> </profile> </profiles> <preferences profiles="LiveInstall" arch="x86_64"> |