Skip to content

Commit

Permalink
fix: set iPXE version properly
Browse files Browse the repository at this point in the history
As we build from tarball, iPXE can't set its version based on git tags.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira authored and talos-bot committed Aug 13, 2021
1 parent 958023c commit 7a29722
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ipxe/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ steps:
destination: ipxe.tar.gz
sha256: 16e8d51c48d8a120332cf0dc32b473acc5d179e3975ced208eb21caf3b6528dc
sha512: 47400975110ed4ab95835aa1b7c8d5a6917c19c5713c6ab88bc0741a3adcd62245a9c4251d1f46fffc45289c6b18bf893f86dbc3b67d3189c41b7f198367ecaa
env:
IPXE_VERSION: 1.21.1+sidero
prepare:
- |
tar -xzf ipxe.tar.gz --strip-components=1
Expand All @@ -20,11 +22,11 @@ steps:
cd src/
{{ if eq .ARCH "aarch64" }}
ARCH= make -j $(nproc) bin-arm64-efi/ipxe.efi EMBED=/pkg/files/ipxe.script
ARCH= make -j $(nproc) bin-arm64-efi/ipxe.efi EMBED=/pkg/files/ipxe.script VERSION=${IPXE_VERSION}
gcc ./util/zbin.c -llzma -o util/zbin
{{ else }}
ARCH= make -j $(nproc) bin/undionly.kpxe bin-x86_64-efi/ipxe.efi EMBED=/pkg/files/ipxe.script
ARCH= make bin/undionly.kpxe.bin bin/undionly.kpxe.zinfo EMBED=/pkg/files/ipxe.script
ARCH= make -j $(nproc) bin/undionly.kpxe bin-x86_64-efi/ipxe.efi EMBED=/pkg/files/ipxe.script VERSION=${IPXE_VERSION}
ARCH= make bin/undionly.kpxe.bin bin/undionly.kpxe.zinfo EMBED=/pkg/files/ipxe.script VERSION=${IPXE_VERSION}
{{ end }}
install:
- |
Expand Down

0 comments on commit 7a29722

Please sign in to comment.