From ca8369eada3481851d44b2df944a09dd5dea738f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 1 Jul 2011 01:43:19 +0200 Subject: [PATCH] xbps-src [chroot]: ignore busybox tar, xz, gzip and bunzip2 applets. --- xbps-src/shutils/chroot.sh.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xbps-src/shutils/chroot.sh.in b/xbps-src/shutils/chroot.sh.in index b3f85dad35..e8d6aa1d27 100644 --- a/xbps-src/shutils/chroot.sh.in +++ b/xbps-src/shutils/chroot.sh.in @@ -236,7 +236,10 @@ create_busybox_links() cd ${lbindir} || return 1 for f in $(${XBPS_MASTERDIR}/bin/busybox --list); do - [ "$f" = "sh" ] && continue + if [ "$f" = "tar" -o "$f" = "xz" -o \ + "$f" = "bzip2" -o "$f" = "gzip" -o "$f" = "sh" ]; then + continue + fi ln -s ../../../bin/busybox $f done