]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
strip: exclude rust compiler
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 8 Oct 2023 07:27:20 +0000 (09:27 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Oct 2023 08:16:24 +0000 (08:16 +0000)
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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/strip

index 404db07273c1be118df95b5b3e39d96ab93be1cf..8fc7218e19fdfffdcb7326afc55d358c2b0bc11b 100644 (file)
--- 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