From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1197416-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9EC4E13835A for <garchives@archives.gentoo.org>; Mon, 17 Aug 2020 23:22:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB1BFE088C; Mon, 17 Aug 2020 23:22:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B062AE088C for <gentoo-commits@lists.gentoo.org>; Mon, 17 Aug 2020 23:22:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F9F634F494 for <gentoo-commits@lists.gentoo.org>; Mon, 17 Aug 2020 23:22:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9FBBB286 for <gentoo-commits@lists.gentoo.org>; Mon, 17 Aug 2020 23:21:58 +0000 (UTC) From: "Thomas Deutschmann" <whissi@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, "Thomas Deutschmann" <whissi@gentoo.org> Message-ID: <1597705893.d729714908b1830189356a92ac433b5e237ae43d.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_determineargs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: d729714908b1830189356a92ac433b5e237ae43d X-VCS-Branch: master Date: Mon, 17 Aug 2020 23:21: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: 9fef2e18-87b3-44fb-b445-35edfac43baa X-Archives-Hash: 5b4ca2922e15c278d3c18e4e4193a268 commit: d729714908b1830189356a92ac433b5e237ae43d Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Mon Aug 17 23:11:33 2020 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Mon Aug 17 23:11:33 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=d7297149 gen_determineargs.sh: determine_real_args(): --integrated-initramfs requires building of kernel and initramfs Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> gen_determineargs.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gen_determineargs.sh b/gen_determineargs.sh index 4457fe4..7332bb0 100755 --- a/gen_determineargs.sh +++ b/gen_determineargs.sh @@ -1170,6 +1170,14 @@ determine_real_args() { fi fi + if isTrue "${INTEGRATED_INITRAMFS}" + then + if ! isTrue "${BUILD_KERNEL}" || ! isTrue "${BUILD_RAMDISK}" + then + gen_die "Invalid action specified: --integrated-initramfs option requires action \"all\", i.e. building of kernel and initramfs at the same time!" + fi + fi + if ! isTrue "${CMD_INSTALL}" then if [ -n "${KERNEL_MODULES_PREFIX}" ]