From 34c1ee2514ac402da6a288e20b17281d90cd118545746169fd769598097053fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 12 Apr 2024 12:18:38 +0000 Subject: [PATCH] [info=a0a7f4c85fcf77586f5c3e86def732b0] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-oldstable-image?expand=0&rev=65 --- Dockerfile | 2 +- rust-oldstable-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 06a3a9c..9e5faec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends rust1.76 cargo1.76; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends rust1.76 cargo1.76; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENV RUST_VERSION="%%RUST_VERSION%%" ENV CARGO_VERSION="%%CARGO_VERSION%%" ENV CC="/usr/local/bin/gcc" diff --git a/rust-oldstable-image.changes b/rust-oldstable-image.changes index 0ae0401..2144a1c 100644 --- a/rust-oldstable-image.changes +++ b/rust-oldstable-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 12 12:03:53 UTC 2024 - Dirk Mueller + +- Don't wipe everything in /var/log, only remove log files (this omits directories owned by packages) + ------------------------------------------------------------------- Thu Apr 11 06:57:38 UTC 2024 - Dan Čermák