From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1099903-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 18CD0138334 for <garchives@archives.gentoo.org>; Tue, 16 Jul 2019 16:36:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 503FCE0829; Tue, 16 Jul 2019 16:36:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 349EAE0829 for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jul 2019 16:36:11 +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 F195F347D7A for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jul 2019 16:36:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D86273C for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jul 2019 16:36:07 +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: <1563294798.4560f31efa1ed95b0ed3c2369637fc6ecf6a35ed.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_initramfs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 4560f31efa1ed95b0ed3c2369637fc6ecf6a35ed X-VCS-Branch: master Date: Tue, 16 Jul 2019 16:36:07 +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: ce456214-6ab7-4071-b152-75202f6c4845 X-Archives-Hash: 678b93bbb5dc919125fff72fcf0fdbbc commit: 4560f31efa1ed95b0ed3c2369637fc6ecf6a35ed Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Tue Jul 16 16:33:18 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Tue Jul 16 16:33:18 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=4560f31e gen_initramfs.sh: append_base_layout(): Record --keymap parameter in build-parameter.txt Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> gen_initramfs.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 9f8fa6d..d5383f5 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -289,6 +289,15 @@ append_base_layout() { || gen_die "Failed to create '${TDIR}/lib/dracut/dracut-gk-version.info'!" local -a build_parameters + + if isTrue "${KEYMAP}" + then + build_parameters+=( --keymap ) + isTrue "${DOKEYMAPAUTO}" && build_parameters+=( --do-keymap-auto ) + else + build_parameters+=( --no-keymap ) + fi + isTrue "${COMPRESS_INITRD}" && build_parameters+=( --compress-initramfs ) || build_parameters+=( --no-compress-initramfs ) isTrue "${MICROCODE_INITRAMFS}" && build_parameters+=( --microcode-initramfs ) || build_parameters+=( --no-microcode-initramfs ) isTrue "${RAMDISKMODULES}" && build_parameters+=( --ramdisk-modules ) || build_parameters+=( --no-ramdisk-modules )