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:
Felix Yan 2022-03-04 14:51:58 +02:00
parent 1e100adbd1
commit d03497bdbb
No known key found for this signature in database
GPG key ID: 786C63F330D7CB92

View file

@ -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
}