From f502808d8e5e27f3c17d88b59033321ee18d76fc Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Wed, 22 Feb 2023 22:16:50 -0500 Subject: [PATCH] build.sh: freeze grub2 since it's not working for ppc64le PXE tests See https://github.com/coreos/coreos-assembler/issues/3370 --- build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9d0da4b747..af59d0253b 100755 --- a/build.sh +++ b/build.sh @@ -41,9 +41,16 @@ install_rpms() { local builddeps local frozendeps - # no frozen deps right now frozendeps="" + # freeze grub2 for https://github.com/coreos/coreos-assembler/issues/3370 + case "${arch}" in + x86_64) frozendeps=$(echo grub2-{common,tools,tools-extra,tools-minimal,efi-x64,pc,pc-modules}-1:2.06-75.fc37);; + aarch64) frozendeps=$(echo grub2-{common,tools,tools-extra,tools-minimal,efi-aa64}-1:2.06-75.fc37);; + ppc64le) frozendeps=$(echo grub2-{common,tools,tools-extra,tools-minimal,ppc64le,ppc64le-modules}-1:2.06-75.fc37);; + *) ;; + esac + # First, a general update; this is best practice. We also hit an issue recently # where qemu implicitly depended on an updated libusbx but didn't have a versioned # requires https://bugzilla.redhat.com/show_bug.cgi?id=1625641