-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a command line option to install systemd-boot rather than grub2 on x86_64 and arm64 #4368
Provide a command line option to install systemd-boot rather than grub2 on x86_64 and arm64 #4368
Commits on Mar 9, 2023
-
bootloader/base.py drop stage2 requirement
systemd-boot places all the files need for boot on the ESP, removing the need for a dedicated stage2 boot partition to hold the initrd/etc. So, lets add an option to skip the stage2 validation. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 17fd46e - Browse repository at this point
Copy the full SHA 17fd46eView commit details -
storage: Add a systemd class for systemd-boot
Systemd-boot is a lightweight boot selector that only runs in EFI enviroments. Compared to shim+grub its incredibly simple as it utilizes efi boot services. Lets add a subclass that anaconda can use to install it rather than grub. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Configuration menu - View commit details
-
Copy full SHA for c4b31b6 - Browse repository at this point
Copy the full SHA c4b31b6View commit details -
EFIGRUB is checking fw_platform_size to choose which grub, 32 or 64-bit, needs to be installed. Lets hoist that check because systemd-boot will use it to verify that the platform firmware is 64-bits. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Configuration menu - View commit details
-
Copy full SHA for e069f2a - Browse repository at this point
Copy the full SHA e069f2aView commit details -
Add EFISYSTEMD class and enable aarch64
Now that we have a systemd bootloader class lets add an efi class that can call it to install the bootloader. Then create Aarch64EFISystemBoot class that can utilize it. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Configuration menu - View commit details
-
Copy full SHA for d8f0384 - Browse repository at this point
Copy the full SHA d8f0384View commit details -
Add the grub packages removed from comps to grub installs
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 1891b0f - Browse repository at this point
Copy the full SHA 1891b0fView commit details -
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 30eb96c - Browse repository at this point
Copy the full SHA 30eb96cView commit details -
Add kickstart/command line control to enable systemd-boot
Now, that we have all the infrastructure in place, lets add and document a 'inst.systemd' option that can be used on the boot commadline or placed in kickstart files. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 73486e9 - Browse repository at this point
Copy the full SHA 73486e9View commit details -
release-notes: Document that its possible to install with systemd-boot
Place a release note for the next verison of anaconda which notes that it is now possible given the right set of packages/etc to install a system utilizing systemd-boot. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Configuration menu - View commit details
-
Copy full SHA for d05eb78 - Browse repository at this point
Copy the full SHA d05eb78View commit details -
CONTRIBUTING: Add note about systemd-boot
The systemd-boot install feature is for the moment largly expermental, but adding the ability to create a clean install without grub drippings is important for testing. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Configuration menu - View commit details
-
Copy full SHA for a9e0559 - Browse repository at this point
Copy the full SHA a9e0559View commit details