Hi Sergio, Sergio Gelato <sergio.gel...@astro.su.se> (2017-02-03): > Package: grub-installer > Version: 1.136 > Severity: serious > > The grub installation step reproducibly fails using the latest stretch d-i > on both i386 and amd64 Xen PV guests. The logs indicate that grub-install is > looking for /usr/lib/grub/i386-pc instead of /usr/lib/grub/i386-xen, and > similarly on amd64. > > I think the problem was introduced by > commit 66f75b7069aeba05eab776b5ac18dffa6874b5f3 . > > Shouldn't amd64:grub-xen and i386:grub-xen read amd64/*:grub-xen and > i386/*:grub-xen, respectively, when matching against $ARCH:$grub_package ?
Since ARCH is set through archdetect, and since archdetect.c (in hw-detect) has this as final code: printf("%s/%s\n", CPU_TEXT, subarch); … it seems to me we really should be checking for something like what you're suggesting. Would you be interested in helping test an image with this fix included? I can build an amd64 netinst and upload that for your to try. KiBi.
signature.asc
Description: Digital signature