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 0C39E138359 for ; Sat, 1 Aug 2020 21:41:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19EECE0A9B; Sat, 1 Aug 2020 21:41:58 +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 0241AE0A9B for ; Sat, 1 Aug 2020 21:41:57 +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 A411534F4C2 for ; Sat, 1 Aug 2020 21:41:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00BCB303 for ; Sat, 1 Aug 2020 21:41:48 +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: <1596314900.b77e7ab91fe14f238eb6a4a7a0f0b963909fb1a1.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: genkernel X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: b77e7ab91fe14f238eb6a4a7a0f0b963909fb1a1 X-VCS-Branch: master Date: Sat, 1 Aug 2020 21:41:48 +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: 49b7a1c8-ec98-4b32-869c-783f014e243e X-Archives-Hash: f413dc39e7e3c1defefc92a9b4671f99 commit: b77e7ab91fe14f238eb6a4a7a0f0b963909fb1a1 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Aug 1 18:55:27 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Aug 1 20:48:20 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=b77e7ab9 genkernel: Update kerncache only when kernel was built Signed-off-by: Thomas Deutschmann gentoo.org> genkernel | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/genkernel b/genkernel index b96e388..b601eb0 100755 --- a/genkernel +++ b/genkernel @@ -378,11 +378,8 @@ fi if [ -n "${KERNCACHE}" ] then - if ! isTrue "${KERNCACHE_IS_VALID}" + if isTrue "${BUILD_KERNEL}" && ! isTrue "${KERNCACHE_IS_VALID}" then - # Only update KERNCACHE when KERNCACHE wasn't used because - # when it was used nothing has been changed so no update is - # necessary. print_info 1 '' 1 0 gen_kerncache else