Ian Campbell
2015-Jan-22 15:58 UTC
[Pkg-xen-devel] Ubuntu delta against 4.5.0-1 in experimental for disussion
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.
Stefan Bader
2015-Jan-22 16:09 UTC
[Pkg-xen-devel] Ubuntu delta against 4.5.0-1 in experimental for disussion
On 22.01.2015 16:58, Ian Campbell wrote:> 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.Yes, I talked to infinity today and he also thought of grub ordering. Possibly creating the Xen entries first if a hypervisor file is found. The other thing I tried to accomplish with the config file was to offer a template for people to tweak boot arguments. Which probably also could go into grub. -Stefan> > Ian. >-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20150122/52a1d571/attachment-0001.sig>
Apparently Analagous Threads
- Ubuntu delta against 4.5.0-1 in experimental for disussion
- Ubuntu delta against 4.5.0-1 in experimental for disussion
- Ubuntu delta against 4.5.0-1 in experimental for disussion
- Ubuntu delta against 4.5.0-1 in experimental for disussion
- Ubuntu delta against 4.5.0-1 in experimental for disussion