From: Michael Tremer <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. cf4b9118e32d9d4546cbeac7b63462bdd4de77b5
Date: Fri, 02 Aug 2024 17:56:53 +0000 [thread overview]
Message-ID: <4WbD6s0g0vz2xNr@people01.haj.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2307 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via cf4b9118e32d9d4546cbeac7b63462bdd4de77b5 (commit)
from 80de6b5647309874d5af3f7f4cba78cbd08b3fd4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cf4b9118e32d9d4546cbeac7b63462bdd4de77b5
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Fri Aug 2 17:56:17 2024 +0000
make.sh: Show the packages that failed to download
https://lists.ipfire.org/hyperkitty/list/development(a)lists.ipfire.org/thread/VCTWCJKYKCGN7TUKMYWVJY3QUX4FIDT5/
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
make.sh | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Difference in files:
diff --git a/make.sh b/make.sh
index d2054eff3..10ec607b1 100755
--- a/make.sh
+++ b/make.sh
@@ -1090,7 +1090,7 @@ download_sources() {
local file
local pkg
- local status=0
+ local failed_packages=()
# Walk through all files in LFS
for file in "${BASEDIR}/lfs/"*; do
@@ -1109,15 +1109,18 @@ download_sources() {
# Download and check the package
if ! make_pkg "${pkg}" download b2; then
+ failed_packages+=( "${pkg}" )
print_status FAIL
- status=1
continue
fi
print_status DONE
done
- return "${status}"
+ # Fail if we could not download/verify all packages
+ if [ "${#failed_packages[@]}" -gt 0 ]; then
+ exiterror "Failed to download or verify some packages: ${failed_packages[@]}"
+ fi
}
# Download the toolchain
@@ -2342,9 +2345,7 @@ downloadsrc)
print_headline "Pre-loading all source files"
# Download all sources
- if ! download_sources; then
- exiterror "Failed to download sources"
- fi
+ download_sources
;;
toolchain)
# Launch in a new namespace
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2024-08-02 17:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4WbD6s0g0vz2xNr@people01.haj.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox