From 29ca9b5188c74a29cfb2561057bac67a42374f33439131fa2f58fa3fa8c9fdc3 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=bc964b1d5b15a4ff37036a40e310e08e] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=65 --- Dockerfile | 2 +- rust-stable-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6c95ab7..6365cc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends rust1.77 cargo1.77; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends rust1.77 cargo1.77; 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-stable-image.changes b/rust-stable-image.changes index c1648f3..bc0c5ff 100644 --- a/rust-stable-image.changes +++ b/rust-stable-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