use binutils ar and strings commands

The binutils package is installed in SystemRescue for some time, so actually use it.

The busybox ar is inferior to the binutils one, causing problems when building
some packages with yay.
This commit is contained in:
Gerd v. Egidy 2022-10-02 15:26:10 +02:00
parent d01b5771cb
commit 1df64290fa

View file

@ -59,10 +59,6 @@ systemctl mask ldconfig.service
/usr/bin/pacman-key --populate
rm -f /etc/pacman.d/gnupg/*~
# Provide additional commands (using busybox instead of binutils to save space)
ln -sf /usr/bin/busybox /usr/local/bin/ar
ln -sf /usr/bin/busybox /usr/local/bin/strings
# Cleanup
find /usr/lib -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
find /usr/lib -type f,l -name '*.a' -delete