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 2E4D0138335 for ; Tue, 12 Jun 2018 16:40:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E378DE086B; Tue, 12 Jun 2018 16:40:39 +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 B1D6DE0871 for ; Tue, 12 Jun 2018 16:40:39 +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 988E1335C93 for ; Tue, 12 Jun 2018 16:40:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E54392CB for ; Tue, 12 Jun 2018 16:40:35 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1528821380.8f0a6165ded1aecea9ae4b38f2b6e0eba328c62a.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 8f0a6165ded1aecea9ae4b38f2b6e0eba328c62a X-VCS-Branch: master Date: Tue, 12 Jun 2018 16:40:35 +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-Archives-Salt: fc833764-1a62-4745-9e9a-9d8c66e25aaa X-Archives-Hash: b3363fd3a74c2b963ce7fe99b28f15ba commit: 8f0a6165ded1aecea9ae4b38f2b6e0eba328c62a Author: Fabian Groffen gentoo org> AuthorDate: Tue Jun 12 16:36:20 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Jun 12 16:36:20 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=8f0a6165 scripts/bootstrap-prefix: clear resume list at end of stage3 To avoid incorrectly resuming some crap from e.g. depclean, make sure we clear the resume list at the end of stage3, such that we will start with a clean slate. scripts/bootstrap-prefix.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 80c9ebd956..f39daf9b2e 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -1855,6 +1855,10 @@ bootstrap_stage3() { einfo "running emerge --depclean" emerge --depclean + # "wipe" mtimedb such that the resume list is proper after this stage + # (--depclean may fail, which is ok) + sed -i -e 's/resume_backup/cleared/' "${EPREFIX}"/var/cache/edb/mtimedb + einfo "stage3 successfully finished" }