diff options
author | Fabian Groffen <grobian@gentoo.org> | 2018-06-12 18:36:20 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2018-06-12 18:36:20 +0200 |
commit | 8f0a6165ded1aecea9ae4b38f2b6e0eba328c62a (patch) | |
tree | a33f2c10bc1b3900fb8231c9f369e21f0207493e | |
parent | scripts/bootstrap-prefix: remove makeinfo hack sooner (diff) | |
download | prefix-8f0a6165ded1aecea9ae4b38f2b6e0eba328c62a.tar.gz prefix-8f0a6165ded1aecea9ae4b38f2b6e0eba328c62a.tar.bz2 prefix-8f0a6165ded1aecea9ae4b38f2b6e0eba328c62a.zip |
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.
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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" } |