xbps-src: force creation of busybox links when entering chroot.
This commit is contained in:
parent
268544c8ef
commit
4eb1983376
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user