[Pkg-xen-devel] [PATCH 0/4] More ideas on Debian packaging of Xen

Elliott Mitchell ehem+debian at m5p.com
Mon Aug 9 02:03:27 BST 2021


Hopefully the settings with patch formatting are more to the maintainer's
taste (I prefer the other way).  Two of these had already been suggested,
but I'm sending them again since they still seem to have value.

This batch are mostly independent and can readily be reordered.  The
first and last interact some, but reordering them should be
straightforward if you desire to do so.

I still like the idea of creating the "xen-domu-bootloader" virtual
package for PvGRUB to fill.  Perhaps this should be "xen-domu-loader" or
maybe there should also be "xen-domu-bootloader-X.Y".


I've gotten interesting results during my experiments with Xen on ARM
hardware.  PyGRUB is pretty well version-independent.  PyGRUB from
Xen 4.11 worked perfectly for loading kernel/initial ramdisk on a
Xen 4.14 hypervisor.  This suggests PyGRUB should be a package separate
from the Xen utils.  This would also allow completely removing PyGRUB
from a system.

The currently visible alternative is wishlist bug #978595.  On arm64
the resultant XEN_EFI.fd is pretty well ideal.  It has higher overhead
than PvGRUB, but it can load things besides Linux.  Presently it is the
only loader known to function for the WIP FreeBSD port.

The packaging job is incomplete.  I make no claims of being a full Debian
developer, simply someone with some interest who wants things to work.
Notably I suspect this would result in an incorrect 4.11 => 4.14 upgrade.
During the 4.11 => 4.14 upgrade, the xen-pygrub package should be
installed if xen-utils-4.11 was installed.  I suspect both xen-utils-4.14
and xen-pygrub need to be marked as replacing xen-utils-4.11 (possibly
xen-utils-4.4 and xen-utils-4.8 too).

Now to learn a bit about xenstored and stubdomains...


Elliott Mitchell (4):
  debian/.gitignore sort and tighten matching
  debian/control: Update utils Recommends
  debian/rules: Setup use of noOCAML profile
  debian: Break PyGRUB into package separate from Xen

 debian/.gitignore                 | 79 ++++++++++++++++---------------
 debian/control                    | 19 ++++++--
 debian/rules                      | 18 +++++--
 debian/xen-pygrub.install.vsn-in  |  5 ++
 debian/xen-utils-V.install.vsn-in |  3 +-
 5 files changed, 76 insertions(+), 48 deletions(-)
 create mode 100644 debian/xen-pygrub.install.vsn-in

-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg at m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445






More information about the Pkg-xen-devel mailing list