Commit Graph
24 Commits
Author SHA1 Message Date
Adam Williamson 1352186134 Revert "liveinstall: Use kernel-uki-dtbloader kernel on aarch64"
This reverts commit 87c1935253. It
breaks openQA 'install from a live image then boot' tests.

Fixes: https://pagure.io/fedora-kiwi-descriptions/issue/268
2026-02-13 09:36:37 -08:00
Hans de Goede 87c1935253 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>
2026-02-11 21:20:26 +01:00
Neal Gompa d05461daa7 Revert "Drop shim-signed-ia32 packages"
This is once again present in Fedora, so ship it again.

This reverts commit 01d839d633.
2025-11-29 02:56:49 -05:00
Neal Gompa 6c3b674a92 Raise the size of the boot partition to 2G for Fedora images
With the increase in content in initramfs, a long-overdue raise
of the default size for /boot is warranted.

Reference: https://fedoraproject.org/wiki/Changes/2GbootPartition
2025-10-06 10:18:44 -04:00
Neal Gompa 4d4ddf0ba0 components/boot: aarch64: Set 16 MiB starting offset for partitions
This ensures that there's empty space for arm-image-installer to
inject firmware blobs into images as part of preparing to install
for various single board computers.
2025-09-22 19:04:42 -04:00
Adam Williamson 01d839d633 Drop shim-signed-ia32 packages
shim-ia32 no longer exists at present. We can talk with pjones
about bringing it back, but for now, this is preventing Rawhide
composes from working.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-26 14:29:36 -07:00
Neal Gompa 1c530eb983 components/boot: Add ia32 EFI components for x86_64 images
This restores support for booting on 64-bit x86 systems that use
32-bit EFI platforms.

Reference: https://fedoraproject.org/wiki/Changes/32BitUefiSupport
2025-07-10 07:39:32 +00:00
Janne Grunau 66b87054e8 grub2: Enable bls for all non-live images
This became necessary with 10.0.13 / after merging
https://github.com/OSInside/kiwi/pull/2535 but doesn't seem to
noticeable effects besides miisin "GRUB_ENABLE_BLSCFG=true" in
/etc/default/grub.
2025-04-29 22:36:27 +02:00
Janne Grunau 61f0794ad5 grub2: Use menu_auto_hide=1 to match anaconda
menu_auto_hide=1 is required for the boot_success provided by Fedora's
grub2 package. This will fall back to the previous kernel and show the
usually hidden grub menu when booting fails.

This makes it unnecessary to override the timeout_style and using a
reduced timeout of 1 second for disk images.
2025-04-27 22:04:22 +02:00
Neal Gompa fcdcd34d50 components/boot, teams/server: Add partitioning hack for the Raspberry Pi 3
The Raspberry Pi 3 does not recognize a FAT filesystem marked with
the 0xef type, so until we drop support for this device, hack the
partition manually to use a legacy FAT filesystem partition type.
2025-02-20 14:46:28 -05:00
Neal Gompa ada197be81 components, teams/server: Use a common profile for hardware support
It is hard to ensure that hardware support packages are pulled in
universally when it's splintered across different variant profiles.

To fix this and ensure Server benefits from this, unify everything
into a common profile and make everything require it.
2025-02-20 14:15:26 -05:00
David Abdurachmanov b5d377d912 Initial riscv64 support
Most of the changes are self-explanatory and just follow what's
already happening for existing architectures.

Two things are worth pointing out:

  * we need to use shim-unsigned instead of shim-signed because
    riscv64 is not fully integrated into Fedora yet and so we
    can't do Secure Boot signing for the time being;

  * we use ext4 as bootfilesystem since in most cases the
    underlying firmware is going to be U-Boot, which needs to be
    able to load the board's DTB from /boot and doesn't support
    XFS.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-02-07 15:06:22 +01:00
Neal Gompa 1f496fc743 components: Introduce a BaseCommon profile
This is where the lowest level common denominator configuration
goes for most images go.
2024-12-13 10:18:06 -05:00
Neal Gompa e81733710d components/boot: Split out BootDiskCore aarch64 profile to force MBR
Many of the older supported AArch64 systems (particularly single
board computers) require a legacy MBR (Master Boot Record) type
partitioning to successfully boot.
2024-11-26 06:39:45 -05:00
Neal Gompa 5994d4352b components/boot: Add full kernel and btrfs stack to BootDiskCore
The boot environment for non-cloud disk images was incomplete,
leading to images not bootable on real hardware. This change
adds the missing packages to fix that.
2024-09-04 22:53:26 -04:00
Troy Dawson 9a186d41a4 Do not use 4096 blocksize
4096 blocksize is required for Macs, and some newer machines can see it,
but many other machines are not able to use the 4096 blocksize.

Signed-off-by: Troy Dawson <tdawson@redhat.com>
2024-08-30 02:27:37 +00:00
Neal Gompa c8229ee61f components/boot: Add common configuration for disk images
This introduces a core disk configuration profile "BootDiskCore"
that can be used for creating non-cloud bootable disks.
2024-07-24 07:13:41 -04:00
Neal Gompa 12cb853ad9 Add s390x variant for Cloud-Base-Generic
This allows building cloud images for Z systems.
2024-03-11 21:36:23 -04:00
Neal Gompa 31f9f8a743 components/boot: Force grubby at bootstrap phase
If no preference is expressed, sdubby will be selected instead of
grubby, which breaks image builds. Thus, install grubby early to
avoid this issue.
2024-03-04 21:25:39 -05:00
Neal Gompa 12275dff55 Add ppc64le variant for Cloud-Base-Generic
This allows building cloud images for POWER systems.
2024-02-24 14:57:26 -05:00
Neal Gompa 10d4f7c9ae components/boot: Drop duplicate profiles section
Multiple profiles can be defined in a profiles section.
2024-02-22 19:49:16 -05:00
Gerd Hoffmann 1de547fc3d platforms/cloud: add Cloud-Base-UEFI-UKI profile
This is a variation of Cloud-Base-Generic which boots using UKIs.

This also adds uki-editbootconfig.sh script which makes the
image bootable via "UEFI firmware -> shim.efi -> UKI.efi".

Some background information:
https://fedoraproject.org/wiki/Changes/Unified_Kernel_Support_Phase_2

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2024-01-25 15:06:58 +01:00
Neal Gompa 724d3376e7 components/boot: Explicitly select grubby
This avoids issues caused by the existence of grubby and sdubby.
2023-12-19 15:54:30 -05:00
Neal Gompa 838cd9b2ee Initial import of descriptions 2023-10-14 15:21:23 -04:00