syslinux-install_update needs gptfdisk to work correctly on GPT systems

To be reverted when FS#45029 will be closed
This commit is contained in:
Timothy Redaelli 2015-07-01 12:30:24 +02:00
parent a01af5d8ac
commit 191a04696b

View file

@ -95,6 +95,8 @@ delete_all() {
install_packages() {
local packages="base openssh"
[ "$bootloader" != "none" ] && packages="$packages $bootloader"
# XXX Install gptdisk for syslinux. To be removed then FS#45029 will be closed
[ "$bootloader" = "syslinux" ] && packages="$packages gptfdisk"
# Black magic!
"/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