From a0785aeb710ba964a9d8ec7512fa92eeee6bd205 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Wed, 5 Nov 2025 16:29:53 +0000 Subject: [PATCH] Remove wget-log files left behind by debootstrap --- scripts/common | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/common b/scripts/common index 932a2ee..5056771 100644 --- a/scripts/common +++ b/scripts/common @@ -18,6 +18,9 @@ bootstrap(){ printf -v BOOTSTRAP_STR '%q ' "${BOOTSTRAP_ARGS[@]}" setarch linux32 capsh $CAPSH_ARG -- -c "'${BOOTSTRAP_CMD}' $BOOTSTRAP_STR" || true + + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050719 + rm -f wget-log* if [ -d "$2/debootstrap" ] && ! rmdir "$2/debootstrap"; then cp "$2/debootstrap/debootstrap.log" "${STAGE_WORK_DIR}"