Black Magic is not easy, fix dfacf4fd on x86_64 container.

This commit is contained in:
Timothy Redaelli 2015-07-01 01:14:29 +02:00
parent 31dcc966bf
commit a01af5d8ac

View file

@ -96,7 +96,7 @@ install_packages() {
local packages="base openssh"
[ "$bootloader" != "none" ] && packages="$packages $bootloader"
# Black magic!
"/root.$cpu_type/usr/lib/ld-linux.so."* --library-path "/root.$cpu_type/usr/lib" \
"/root.$cpu_type/usr/lib"/ld-*.so --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
}