From 4eb198337626cc0617a99ab26438ee5de19fd30c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 15 Nov 2011 22:08:32 +0100 Subject: [PATCH] xbps-src: force creation of busybox links when entering chroot. --- xbps-src/shutils/chroot.sh.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xbps-src/shutils/chroot.sh.in b/xbps-src/shutils/chroot.sh.in index a57e6373159..1731b90b3e6 100644 --- a/xbps-src/shutils/chroot.sh.in +++ b/xbps-src/shutils/chroot.sh.in @@ -250,8 +250,6 @@ create_busybox_links() { local lbindir=$XBPS_MASTERDIR/usr/local/bin - [ -f $XBPS_MASTERDIR/.busybox_done ] && return 0 - [ ! -d ${lbindir} ] && mkdir -p ${lbindir} # Create other symlinks in /usr/local/bin @@ -261,10 +259,8 @@ create_busybox_links() if [ "$f" = "tar" -o "$f" = "sh" -o "$f" = "xz" ]; then continue fi - ln -s ../../../bin/busybox $f + ln -sf ../../../bin/busybox $f done - - touch -f $XBPS_MASTERDIR/.busybox_done } install_xbps_utils()