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:
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user