mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-29 04:22:41 +00:00
jq is not available in the minimal tier. Use grep instead to verify that the bootupd EFI has both grub2 and shim components installed. Assisted-by: OpenCode (Claude Opus 4.6)
5 lines
232 B
Bash
Executable file
5 lines
232 B
Bash
Executable file
#!/bin/bash
|
|
set -xeuo pipefail
|
|
# Verify the bootupd EFI has both grub2 and shim components installed.
|
|
# (Note we don't use jq here because that's not available in minimal.)
|
|
grep -q 'grub2-.*,shim-' /usr/lib/bootupd/updates/EFI.json
|