Subject: xen: Fails to boot Xen by default

From: Elliott Mitchell <[email-masked]>
Date: Mon, 29 Jul 2019 13:36:36 -0700

Package: xen-hypervisor-4.8-amd64
Version: 4.8.5+shim4.10.2+xsa282-1+deb9u11

The 4.8 version of the Xen package has
'GRUB_DEFAULT="Debian GNU/Linux, with Xen hypervisor"' at the bottom of
/etc/default/grub.d/xen.cfg.  Unfortunately this fails since Devuan is a
distinct distribution and the match fails.

I think the older solution recommended for Wheezy and Squeeze
(https://wiki.debian.org/Xen#Prioritize_booting_Xen_over_native_Linux) of
adding a symbolic link to /etc/grub.d functions better as it doesn't rely
on an exact string match.  That would require coordination with Debian to
rework handling of /etc/grub.d (make a 10_default script which is
meant to be overridden by packages and rename 10_linux to 11_linux).

-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         [email-masked]  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445