[pve-devel] [PATCH installer v3 09/20] debian: strip unused library dependencies

Thomas Lamprecht t.lamprecht at proxmox.com
Sun Nov 10 19:31:01 CET 2024


Am 21.08.24 um 11:40 schrieb Christoph Heiss:
> Rust links in some dynamic libraries even if only used by a disabled
> feature gate.
> 
> This will be needed due to moving http-related code into the
> proxmox-installer-common crate and thus pulling it in at more places.
> 

why not re-use (as in: copy over) our existing script?

https://git.proxmox.com/?p=proxmox-backup.git;a=blob;f=debian/scripts/elf-strip-unused-dependencies.sh;h=9f89c09ccb0970a94c25a6c5f8ab4de941ae9738;hb=6391a45b43481110fb35c947f87b8754faa9fc2c

As that is used in a few places, and while I'm not attached to it
per se, I'd  like to keep such things consistent and, if possible,
avoid multiple different implementations.




More information about the pve-devel mailing list