xbps-src: force creation of busybox links when entering chroot.
This commit is contained in:
parent
268544c8ef
commit
4eb1983376
1 changed files with 1 additions and 5 deletions
|
@ -250,8 +250,6 @@ create_busybox_links()
|
||||||
{
|
{
|
||||||
local lbindir=$XBPS_MASTERDIR/usr/local/bin
|
local lbindir=$XBPS_MASTERDIR/usr/local/bin
|
||||||
|
|
||||||
[ -f $XBPS_MASTERDIR/.busybox_done ] && return 0
|
|
||||||
|
|
||||||
[ ! -d ${lbindir} ] && mkdir -p ${lbindir}
|
[ ! -d ${lbindir} ] && mkdir -p ${lbindir}
|
||||||
|
|
||||||
# Create other symlinks in /usr/local/bin
|
# Create other symlinks in /usr/local/bin
|
||||||
|
@ -261,10 +259,8 @@ create_busybox_links()
|
||||||
if [ "$f" = "tar" -o "$f" = "sh" -o "$f" = "xz" ]; then
|
if [ "$f" = "tar" -o "$f" = "sh" -o "$f" = "xz" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
ln -s ../../../bin/busybox $f
|
ln -sf ../../../bin/busybox $f
|
||||||
done
|
done
|
||||||
|
|
||||||
touch -f $XBPS_MASTERDIR/.busybox_done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
install_xbps_utils()
|
install_xbps_utils()
|
||||||
|
|
Loading…
Reference in a new issue