From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1192760-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 CABC1138359 for <garchives@archives.gentoo.org>; Sat, 1 Aug 2020 21:41:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29DDFE09A5; Sat, 1 Aug 2020 21:41:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 15E0AE09A5 for <gentoo-commits@lists.gentoo.org>; Sat, 1 Aug 2020 21:41:52 +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 1510834F342 for <gentoo-commits@lists.gentoo.org>; Sat, 1 Aug 2020 21:41:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DFE8295 for <gentoo-commits@lists.gentoo.org>; Sat, 1 Aug 2020 21:41:47 +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: <1596314079.dcac082e5182388556b5841cc2f0e2e8f80bc279.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: dcac082e5182388556b5841cc2f0e2e8f80bc279 X-VCS-Branch: master Date: Sat, 1 Aug 2020 21:41:47 +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: 66f28dd9-d4e7-4053-bd5f-30875589aa3f X-Archives-Hash: f1bb6a9682dadbec6f2aaea7ce635b08 commit: dcac082e5182388556b5841cc2f0e2e8f80bc279 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sat Aug 1 19:53:51 2020 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sat Aug 1 20:34:39 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=dcac082e gen_initramfs.sh: create_initramfs(): set_initramfs_compression_method() must be called when kerncache is used Follow-up: a864c2f ("gen_initramfs.sh: create_initramfs(): Call set_initramfs_compression_method() when not building kernel") Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> gen_initramfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 570100e..e48fa06 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -2069,7 +2069,7 @@ create_initramfs() { else if isTrue "${COMPRESS_INITRD}" then - if ! isTrue "${BUILD_KERNEL}" + if ! isTrue "${BUILD_KERNEL}" || isTrue "${KERNCACHE_IS_VALID}" then # We need to initialize COMPRESS_INITRD_TYPE in case it was set # to best/fastest