From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1448466-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 81F0F158020
	for <garchives@archives.gentoo.org>; Wed, 19 Oct 2022 22:42:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A8404E0855;
	Wed, 19 Oct 2022 22:42:01 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 862BBE0855
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Oct 2022 22:42:01 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E9BBD340F06
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Oct 2022 22:41:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B4A55F7
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Oct 2022 22:41:58 +0000 (UTC)
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org>
Message-ID: <1666219308.0229b8f9741c1365e8c647f26c9109249be2eaf2.mattst88@gentoo>
Subject: [gentoo-commits] proj/genkernel:master commit in: /
X-VCS-Repository: proj/genkernel
X-VCS-Files: gen_arch.sh
X-VCS-Directories: /
X-VCS-Committer: mattst88
X-VCS-Committer-Name: Matt Turner
X-VCS-Revision: 0229b8f9741c1365e8c647f26c9109249be2eaf2
X-VCS-Branch: master
Date: Wed, 19 Oct 2022 22:41:58 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 74c456e8-1c57-4970-a3c8-4caa006eef30
X-Archives-Hash: 9a4b3157a7eb5b14d4a383cad8903dc8

commit:     0229b8f9741c1365e8c647f26c9109249be2eaf2
Author:     Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Thu Oct 13 01:00:26 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Oct 19 22:41:48 2022 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0229b8f9

Fix s390 support

Make sure we pull in correct genkernel arch-specific configuration.
Kernel arch is always "s390".

Closes: https://github.com/gentoo/genkernel/pull/43
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 gen_arch.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gen_arch.sh b/gen_arch.sh
index 6da31aa..b232c3c 100755
--- a/gen_arch.sh
+++ b/gen_arch.sh
@@ -26,6 +26,9 @@ determine_kernel_arch() {
 		riscv|riscv64*)
 			KERNEL_ARCH=riscv
 			;;
+		s390*)
+			KERNEL_ARCH=s390
+			;;
 		x86)
 			if [ "${VER}" -ge "3" ]
 			then