Skip to content

Commit

Permalink
app-crypt/sbsigntool: add ~arm64.
Browse files Browse the repository at this point in the history
Runtime testing performed on Lenovo CaviumX thanks to Packet.net.

Package-Manager: portage-2.3.2
Signed-off-by: Robin H. Johnson <[email protected]>
  • Loading branch information
robbat2 committed Feb 13, 2017
1 parent b64689e commit d4e5e55
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app-crypt/sbsigntool/sbsigntool-0.8.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand All @@ -13,7 +13,7 @@ SRC_URI="https://dev.gentoo.org/~tamiko/distfiles/${P}.tar.gz

LICENSE="GPL-3 LGPL-3 LGPL-2.1 CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="libressl"

RDEPEND="
Expand All @@ -31,9 +31,10 @@ S="${WORKDIR}"
src_prepare() {
local iarch
case ${ARCH} in
amd64) iarch=x86_64 ;;
arm64) iarch=aarch64 ;;
ia64) iarch=ia64 ;;
x86) iarch=ia32 ;;
amd64) iarch=x86_64 ;;
*) die "unsupported architecture: ${ARCH}" ;;
esac
sed -i "/^EFI_ARCH=/s:=.*:=${iarch}:" configure.ac || die
Expand Down

0 comments on commit d4e5e55

Please sign in to comment.