diff options
author | Nic Boet <nic@boet.cc> | 2023-03-02 19:28:48 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2023-03-02 19:28:48 +0100 |
commit | 249185d4274624bc9b8cce1acc0819cf95192180 (patch) | |
tree | 6d83c6b28e4777ee46e5523bdc7903e62c6c0cad /tools | |
parent | Improve send_mail() because it acts more like the logger (diff) | |
download | releng-249185d4274624bc9b8cce1acc0819cf95192180.tar.gz releng-249185d4274624bc9b8cce1acc0819cf95192180.tar.bz2 releng-249185d4274624bc9b8cce1acc0819cf95192180.zip |
snapshot_cache was removed from catalyst Apr 2020
* catalyst commit 6493f3bc534f97468c514a12035b10e3107c4ecf
* --preclean would now fail as catalyst.conf is invalid
Signed-off-by: Nic Boet <nic@boet.cc>
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/catalyst-auto | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/catalyst-auto b/tools/catalyst-auto index c6b303f5..7c298699 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -329,14 +329,9 @@ run_catalyst_commands() { if [[ ${preclean} == 1 ]]; then rm -rf "${TMP_PATH:-/tmp}/catalyst-auto".* - snapshot_cache=$(catalyst_var snapshot_cache) - if [[ -z ${snapshot_cache} ]]; then - echo "error: snapshot_cache not set in config file" - exit 1 - fi pushd "${BUILD_SRCDIR_BASE}" >/dev/null || exit 1 rm -rf --one-file-system \ - kerncache packages snapshots tmp "${snapshot_cache}"/* + kerncache packages snapshots tmp popd >/dev/null fi |