base-images/tests/rootfs/cases/bootupd
Jonathan Lebon 6630413f22
tests/bootupd: replace jq with grep
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)
2026-04-08 23:09:25 -04:00

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