WIP: tier-0/bootupd: Copy GRUB from new location in /usr
We should teach bootupd how to handle the new location for GRUB & Shim. Workaround it until that happens. See: https://gitlab.com/fedora/bootc/tracker/-/issues/61 See: https://fedoraproject.org/wiki/Changes/BootLoaderUpdatesPhase1
This commit is contained in:
parent
3374cd8842
commit
b0d5633866
|
|
@ -24,5 +24,9 @@ postprocess:
|
||||||
- |
|
- |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -xeuo pipefail
|
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
|
# Transforms /usr/lib/ostree-boot into a bootupd-compatible update payload
|
||||||
/usr/bin/bootupctl backend generate-update-metadata
|
/usr/bin/bootupctl backend generate-update-metadata
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue