Skip to content

Commit

Permalink
Merge pull request #12 from jeffdyoung/armipi
Browse files Browse the repository at this point in the history
uncompress arm64 vmlinuz for pxe booting
  • Loading branch information
openshift-merge-robot authored Apr 7, 2022
2 parents 4d1e087 + 1ed36d6 commit 1743f6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/copy-pxe
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1743f6f

Please sign in to comment.