[1/3] strip: exclude rust compiler

Message ID 20231008072722.3900296-1-arne_f@ipfire.org
State Staged
Commit 16b6a6fd2cb879c7ac65c77274e56986240d4b0f
Headers
Series [1/3] strip: exclude rust compiler |

Commit Message

Arne Fitzenreiter Oct. 8, 2023, 7:27 a.m. UTC
  this fail on riscv64 because it is compiled with lvm and
we not need to strip not shipped buildtime deps.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
---
 lfs/strip | 5 +++++
 1 file changed, 5 insertions(+)
  

Patch

diff --git a/lfs/strip b/lfs/strip
index 404db0727..8fc7218e1 100644
--- a/lfs/strip
+++ b/lfs/strip
@@ -64,6 +64,11 @@  else
 		--exclude=/usr/lib/go \
 		--exclude=/usr/lib/vdr \
 		--exclude=/usr/sbin/vdr \
+		--exclude=/usr/bin/cargo \
+		--exclude=/usr/bin/rustdoc \
+		--exclude=/usr/bin/rustc \
+		--exclude=/usr/libexec/rust-analyzer-proc-macro-srv \
+		--exclude=/usr/libexec/cargo-credential-1password \
 		--exclude=/usr/src \
 		--exclude=/var/tmp
 endif