From 45b635ef976f7242aa3616481e7b29723fbcb525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20S=C3=A1nchez=20Mu=C3=B1oz?= Date: Thu, 21 Dec 2023 17:56:22 +0100 Subject: [PATCH] Do update checksums when building with `--update-checksums` --- steps/improve/update_checksums.sh | 7 +++++++ steps/manifest | 1 + 2 files changed, 8 insertions(+) create mode 100755 steps/improve/update_checksums.sh diff --git a/steps/improve/update_checksums.sh b/steps/improve/update_checksums.sh new file mode 100755 index 0000000..0c4f61b --- /dev/null +++ b/steps/improve/update_checksums.sh @@ -0,0 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Eduardo Sánchez Muñoz +# +# SPDX-License-Identifier: GPL-3.0-or-later + +pushd /external/repo +sha256sum -- * | tee "${SRCDIR}/SHA256SUMS.pkgs" +popd diff --git a/steps/manifest b/steps/manifest index a73776f..b84e273 100644 --- a/steps/manifest +++ b/steps/manifest @@ -181,3 +181,4 @@ build: gcc-10.4.0 build: binutils-2.41 build: gcc-13.1.0 improve: null_time ( FORCE_TIMESTAMPS == True ) +improve: update_checksums ( UPDATE_CHECKSUMS == True )