---
v2:
- Create /boot/xen in postinst not rules
- grub-install now installs to the correct location.
[ Ian Campbell ]
* Provide prebuilt grub-xen binaries for host use in a new grub-xen-host
package.
+ * Build/Install binaries into /boot/xen when installing grub-xen.
-- Colin Watson <cjwatson@debian.org> Sun, 19 Oct 2014 16:28:00 +0100
grub-yeeloong)
grub-install --target=mipsel-loongson
;;
+
+ grub-xen)
+ # Install for x86_64 regardless of arch, since a 32-bit userspace can still boot with a 64-bit kernel.
+ mkdir -p /boot/xen
+ grub-install --target=x86_64-xen
+ case $(dpkg --print-architecture) in
+ i386)
+ grub-install --target=i386-xen
+ ;;
+ esac
+ ;;
esac
# If grub.cfg has been generated, update it.