diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2025-11-05 16:29:53 +0000 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2025-11-24 01:44:57 +0000 |
| commit | a0785aeb710ba964a9d8ec7512fa92eeee6bd205 (patch) | |
| tree | 83ba660f40f592d275e692d401cb92bcc29565fa | |
| parent | cb05dfcc1ce6e303ace293ac2815a3dd5a3c387e (diff) | |
Remove wget-log files left behind by debootstrap
| -rw-r--r-- | scripts/common | 3 |
1 files changed, 3 insertions, 0 deletions
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}" |
