From 1ed36d657fa3db55fc649761275c1f89cd7e8abe Mon Sep 17 00:00:00 2001 From: jeffdyoung Date: Tue, 22 Mar 2022 11:05:54 -0400 Subject: [PATCH] uncompress arm64 vmlinuz for pxe booting --- scripts/copy-pxe | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/copy-pxe b/scripts/copy-pxe index caadb57..1dee444 100755 --- a/scripts/copy-pxe +++ b/scripts/copy-pxe @@ -31,6 +31,11 @@ extract_if_needed() { rm -f "${dest_base}-vmlinuz" "${dest_base}-initrd.img" "${dest_base}-rootfs.img" echo "extracting PXE files..." >&2 coreos-installer iso extract pxe -o "${DEST_DIR}" "${source}" + # We need to unzip aarch64 vmlinux because of this: https://github.com/coreos/fedora-coreos-tracker/issues/1019 + if [[ "${dest_base}" =~ -aarch64$ ]]; then + mv ${dest_base}-vmlinuz ${dest_base}-vmlinuz.gz + gunzip ${dest_base}-vmlinuz.gz + fi cp "${source}.sha256" "${dest_base}.pxe.sha256" fi }