Merge branch 'main-grub-usr-phase1' into 'main'

Draft: WIP: tier-0/bootupd: Copy GRUB from new location in /usr

See merge request fedora/bootc/base-images!90
This commit is contained in:
Timothée Ravier 2025-02-11 17:02:45 +00:00
commit 783f006423
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ postprocess:
- |
#!/bin/bash
set -xeuo pipefail
# Copy GRUB2 from new location to /usr/lib/ostree-boot
cp -a /usr/lib/grub2/*/EFI/fedora/* /usr/lib/ostree-boot/efi/EFI/fedora/
# Transforms /usr/lib/ostree-boot into a bootupd-compatible update payload
/usr/bin/bootupctl backend generate-update-metadata
- |