diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2018-03-01 17:43:13 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2018-03-01 17:43:31 +0000 |
commit | a44f7815258b8ae29d08e685678393a2ffff9a90 (patch) | |
tree | 7680455f111fb229c25dd78e645c4e013e5a3746 /testing/alpine-ipxe | |
parent | 5887b5efe773c2a1d58659ae508b0a205d1ace81 (diff) | |
download | aports-a44f7815258b8ae29d08e685678393a2ffff9a90.tar.bz2 aports-a44f7815258b8ae29d08e685678393a2ffff9a90.tar.xz |
testing/alpine-ipxe: we dont support multiarch
Diffstat (limited to 'testing/alpine-ipxe')
-rw-r--r-- | testing/alpine-ipxe/APKBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/alpine-ipxe/APKBUILD b/testing/alpine-ipxe/APKBUILD index fb7cb57e22..5be3a13224 100644 --- a/testing/alpine-ipxe/APKBUILD +++ b/testing/alpine-ipxe/APKBUILD @@ -19,6 +19,11 @@ source="ipxe-$pkgver.tar.gz::https://github.com/ipxe/ipxe/archive/$_sha.tar.gz " builddir="$srcdir/ipxe-$_sha/src" +case $CARCH in +x86) _arch=i386;; +x86_64) _arch=x86_64;; +esac + prepare() { cd "$builddir" mkdir -p config/local @@ -37,7 +42,7 @@ build() { bin/ipxe.iso \ bin/ipxe.lkrn \ bin/ipxe.pxe \ - bin-x86_64-efi/ipxe.efi + bin-$_arch-efi/ipxe.efi } package() { @@ -46,7 +51,7 @@ package() { "$pkgdir"/usr/share/$pkgname/ipxe.lkrn install -Dm644 bin/ipxe.pxe \ "$pkgdir"/usr/share/$pkgname/ipxe.pxe - install -Dm644 bin-x86_64-efi/ipxe.efi \ + install -Dm644 bin-$_arch-efi/ipxe.efi \ "$pkgdir"/usr/share/$pkgname/ipxe.efi install -Dm644 bin/ipxe.iso \ "$pkgdir"/usr/share/$pkgname/ipxe.iso |