Skip to content

packaging: Drop shim alongside bootupd when switching to systemd-boot - #2349

Merged
jeckersb merged 1 commit into
bootc-dev:mainfrom
cgwalters:drop-shim
Jul 29, 2026
Merged

packaging: Drop shim alongside bootupd when switching to systemd-boot#2349
jeckersb merged 1 commit into
bootc-dev:mainfrom
cgwalters:drop-shim

Conversation

@cgwalters

Copy link
Copy Markdown
Collaborator

We sign and boot systemd-boot directly with our own Secure Boot test key (and for sealed images, the UKI itself); shim's chain of trust is never used in either case. Remove shim in the same rpm -e call as bootupd so it doesn't linger in test images, mirroring the same cleanup done in redhat-cop/rhel-bootc-examples#18.

Package name varies by arch (shim-x64 on x86_64, shim-aa64 on aarch64), and neither package is guaranteed to be present, so detect the arch and only remove what's actually installed.

Assisted-by: AI

We sign and boot systemd-boot directly with our own Secure Boot test
key (and for sealed images, the UKI itself); shim's chain of trust is
never used in either case. Remove shim in the same rpm -e call as
bootupd so it doesn't linger in test images, mirroring the same
cleanup done in redhat-cop/rhel-bootc-examples#18.

Package name varies by arch (shim-x64 on x86_64, shim-aa64 on
aarch64), and neither package is guaranteed to be present, so detect
the arch and only remove what's actually installed.

Assisted-by: AI
Signed-off-by: Colin Walters <walters@verbum.org>
@bootc-bot
bootc-bot Bot requested a review from jmarrero July 28, 2026 19:53
@jeckersb
jeckersb added this pull request to the merge queue Jul 28, 2026
Merged via the queue into bootc-dev:main with commit 06d8c6a Jul 29, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants