shutils/chroot.sh: update ld.so(8) before entering the chroot.
This commit is contained in:
parent
4de233e4ca
commit
80f784e0eb
1 changed files with 4 additions and 0 deletions
|
@ -276,6 +276,10 @@ xbps_chroot_handler()
|
|||
"cd /xbps/xbps-src && make IN_CHROOT=1 install clean" \
|
||||
2>&1 >/dev/null || return $?
|
||||
|
||||
# Update ld.so(8) cache
|
||||
msg_normal "Updating ld.so(8) cache...\n"
|
||||
${chroot_cmd} $XBPS_MASTERDIR sh -c "ldconfig" || return $?
|
||||
|
||||
if [ "$action" = "chroot" ]; then
|
||||
env in_chroot=yes IN_CHROOT=1 LANG=C PATH=$path \
|
||||
${chroot_cmd} $XBPS_MASTERDIR /bin/sh || \
|
||||
|
|
Loading…
Reference in a new issue