[Pkg-xen-devel] Ubuntu delta against 4.5.0-1 in experimental for disussion

Ian Campbell Ian.Campbell at citrix.com
Thu Jan 22 15:58:41 UTC 2015


On Thu, 2015-01-22 at 16:08 +0100, Stefan Bader wrote:
> On 22.01.2015 13:02, Stefan Bader wrote:
> > Hi,
> > 
> > I just finished preparing the Xen-4.5 merge from experimental into our next
> > release (Vivid/15.04). And something I actually should have done since the 4.4
> > times is to report back the delta I have in case there are things Debian might
> > want to pick up as well.
> > 
> > So below is the commented debdiff between the 4.5.0-1 in experimental and the
> > Ubuntu version I prepared so far (only compile tested on x86 at the time of
> > writing this).
> > 
> > Regards,
> > Stefan
> > 
> > [Excluding changelog and the maintainer change in control]
> > 
> > First hunk in the following diff is just for the sake of completeness. OCAML was
> > dropped when xend support was taken out, so setting the destination directory
> > sounds useless. On the other hand it does not break anything.
> > The second hunk may or may not be useful for Debian. I add this (and the
> > d/xen-hypervisor-4.5.xen.cfg file) so update-grub will automatically create a
> > config that boots into Xen by default. Files in /etc/default/grub.d are appended
> > to /etc/default/grub, so one does not have to fiddle around with the main file).
> 
> For completeness... at least the implementation of where I added the update-grub
> config and how seems less than ideal in the light of moving from one version to
> the next. So clearly nothing that anyone wants to do at least in that form.

Relying on the entry ordering and being able to reference by number is a
bit fragile with the more complex menu structure used these days.

https://wiki.debian.org/Xen#Prioritise_Booting_Xen_Over_Native
recommends:
        dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen
        
TBH I think the correct answer is to upstream a patch to grub renaming
20_linux_xen to 08_linux_xen (or before 10_linux in any case), on the
principal that if you bother to install Xen then you most likely want to
boot it by default. I just never got round to it.

Ian.




More information about the Pkg-xen-devel mailing list