Fix for latest glibc
ld-${pkgver}.so was not present anymore. Since the tarball is for a single architecture, referring to the actual interpreter should be fine.
This commit is contained in:
parent
1e100adbd1
commit
d03497bdbb
1 changed files with 1 additions and 1 deletions
2
vps2arch
2
vps2arch
|
@ -141,7 +141,7 @@ install_packages() {
|
|||
[ "$mountpoint" = "/" -a "$filesystem" = "xfs" ] && packages="$packages xfsprogs"
|
||||
done < /proc/mounts
|
||||
# Black magic!
|
||||
"/root.$cpu_type/usr/lib"/ld-*.so --library-path "/root.$cpu_type/usr/lib" \
|
||||
"/root.$cpu_type/usr/lib"/ld-*.so.2 --library-path "/root.$cpu_type/usr/lib" \
|
||||
"/root.$cpu_type/usr/bin/chroot" "/root.$cpu_type" /usr/bin/pacstrap -M /mnt $packages
|
||||
cp -L "/root.$cpu_type/etc/resolv.conf" /etc
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue