From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 5CCA3138335 for ; Tue, 26 Mar 2019 08:07:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE648E088F; Tue, 26 Mar 2019 08:07:17 +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 CBFC7E088F for ; Tue, 26 Mar 2019 08:07:17 +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 CE055335CFC for ; Tue, 26 Mar 2019 08:07:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D246F582 for ; Tue, 26 Mar 2019 08:07:13 +0000 (UTC) From: "Thomas Deutschmann" 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" Message-ID: <1553584326.ccaffdee5d396bd4756559b7cab4c0bceb6c8b9b.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_configkernel.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: ccaffdee5d396bd4756559b7cab4c0bceb6c8b9b X-VCS-Branch: master Date: Tue, 26 Mar 2019 08:07:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 55cb2643-401c-43d3-98d3-499d1aedd5ef X-Archives-Hash: 012555040ca2c2b87e11c7c52fa7ee94 commit: ccaffdee5d396bd4756559b7cab4c0bceb6c8b9b Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Mar 26 03:44:25 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Mar 26 07:12:06 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=ccaffdee config_kernel(): rewrite --dmraid handling Signed-off-by: Thomas Deutschmann gentoo.org> gen_configkernel.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gen_configkernel.sh b/gen_configkernel.sh index b0faeeb..2bf0cc7 100755 --- a/gen_configkernel.sh +++ b/gen_configkernel.sh @@ -226,9 +226,12 @@ config_kernel() { kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_DM_MULTIPATH" "${cfg_CONFIG_DM_MULTIPATH}" fi - # Make sure dmraid modules are on if --dmraid + # Make sure dmraid modules are enabled in the kernel, if --dmraid if isTrue "${CMD_DMRAID}" then + print_info 1 "$(getIndent 1)>> Ensure that required kernel options for DMRAID support are set..." + kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_BLOCK" "y" + kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_MD" "y" kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_BLK_DEV_DM" "${cfg_CONFIG_BLK_DEV_DM}" fi