xbps-src:chroot.sh: update for busybox rename.
This commit is contained in:
parent
faff8849e0
commit
0dd337ee91
1 changed files with 5 additions and 5 deletions
|
@ -181,7 +181,6 @@ prepare_binpkg_repos()
|
||||||
|
|
||||||
create_busybox_links()
|
create_busybox_links()
|
||||||
{
|
{
|
||||||
local busyboxdir=$XBPS_MASTERDIR/usr/lib/busybox-initramfs
|
|
||||||
local lbindir=$XBPS_MASTERDIR/usr/local/bin
|
local lbindir=$XBPS_MASTERDIR/usr/local/bin
|
||||||
|
|
||||||
[ -f $XBPS_MASTERDIR/.busybox_done ] && return 0
|
[ -f $XBPS_MASTERDIR/.busybox_done ] && return 0
|
||||||
|
@ -189,10 +188,11 @@ create_busybox_links()
|
||||||
[ ! -d ${lbindir} ] && mkdir -p ${lbindir}
|
[ ! -d ${lbindir} ] && mkdir -p ${lbindir}
|
||||||
|
|
||||||
# Create other symlinks in /usr/local/bin
|
# Create other symlinks in /usr/local/bin
|
||||||
for f in $(find ${busyboxdir} -type l); do
|
cd ${lbindir} || return 1
|
||||||
cd ${lbindir} || return 1
|
|
||||||
[ "$(basename $f)" = "sh" ] && continue
|
for f in $(${XBPS_MASTERDIR}/bin/busybox --list); do
|
||||||
ln -s ../../lib/busybox-initramfs/bin/busybox $(basename $f)
|
[ "$f" = "sh" ] && continue
|
||||||
|
ln -s ../../../bin/busybox $f
|
||||||
done
|
done
|
||||||
|
|
||||||
touch -f $XBPS_MASTERDIR/.busybox_done
|
touch -f $XBPS_MASTERDIR/.busybox_done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue