From 0b78256e3d9578d13fa3f73b657c50785bdf0491 Mon Sep 17 00:00:00 2001 From: Marcos Mello Date: Fri, 3 Apr 2020 17:07:02 -0300 Subject: [PATCH] Install ar and strings symlinks in /usr/local/bin This way users can install binutils if they wish. --- airootfs/root/customize_airootfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airootfs/root/customize_airootfs.sh b/airootfs/root/customize_airootfs.sh index 3b93ec4..4ebcafb 100755 --- a/airootfs/root/customize_airootfs.sh +++ b/airootfs/root/customize_airootfs.sh @@ -43,8 +43,8 @@ systemctl mask atop-rotate.timer systemctl mask shadow.timer # Provide additional commands (using busybox instead of binutils to save space) -ln -f -s /usr/bin/busybox /usr/bin/ar -ln -f -s /usr/bin/busybox /usr/bin/strings +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