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 B11D3138334 for ; Sat, 3 Aug 2019 00:43:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB179E081E; Sat, 3 Aug 2019 00:43:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 C1528E081E for ; Sat, 3 Aug 2019 00:43:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 33DA5349360 for ; Sat, 3 Aug 2019 00:43:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2EDCD742 for ; Sat, 3 Aug 2019 00:43:36 +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: <1564792861.c47369316bd38b737fc2806723049211db2461e1.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: c47369316bd38b737fc2806723049211db2461e1 X-VCS-Branch: master Date: Sat, 3 Aug 2019 00:43:36 +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: caae9e6a-a302-48d2-9354-5f845a2aa478 X-Archives-Hash: 2ba24667083cec9468b5a8044a20d534 commit: c47369316bd38b737fc2806723049211db2461e1 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Aug 3 00:18:15 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Aug 3 00:41:01 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c4736931 gen_initramfs.sh: create_initramfs(): Always show warning that --microcode-initramfs is deprecated Now that we can generate amd-uc.img via sys-kernel/linux-firmware[initramfs] and intel-uc.img via sys-firmware/intel-microcode[initramfs] tell all users that --microcode-initramfs is deprecated. Loading microcode via /boot/{amd,intel}-uc.img instead of embedding into initramfs is recommended because this will allow user to update microcode independently of initramfs updates through package updates. Signed-off-by: Thomas Deutschmann gentoo.org> gen_initramfs.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index fb269b8..36b4678 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -1806,15 +1806,14 @@ create_initramfs() { print_info 1 "$(get_indent 2) ${BOLD}Note:${NORMAL} You can set --no-microcode-initramfs if you load microcode on your own" fi - if ! isTrue "${WRAP_INITRD}" && [[ "${MICROCODE}" == intel ]] + if ! isTrue "${WRAP_INITRD}" then - # Only show this information for Intel users because we have no mechanism yet - # to generate amd-*.img in /boot after sys-kernel/linux-firmware update print_info 1 '' print_info 1 "${BOLD}Note:${NORMAL}" print_info 1 '--microcode-initramfs option is enabled by default for backward compatability.' print_info 1 'If your bootloader can load multiple initramfs it is recommended to load' - print_info 1 '/boot/intel-uc.img instead of embedding microcode into initramfs.' + print_info 1 '/boot/{amd,intel}-uc.img instead of embedding microcode into initramfs so you' + print_info 1 'can update microcode via package update independently of initramfs updates.' fi else print_info 3 "$(get_indent 1)>> --no-microcode-initramfs is set; Skipping early-microcode support ..."