overlay: remove overlay/etc/grub.d/20_linux_xen
PATCH 1/1 overlay: remove overlay/etc/grub.d/20_linux_xen
This file was created to work around Debian bug #633127.
According to Debian bug tracker [0], this bug is fixed in Wheezy. As we're now using Wheezy in OSSTest we can safely remove this overlay file.
Also add a note to reference #633127 above grub2 setup function, in case someone trips over this bug.
0: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633127
--- Osstest/Debian.pm | 3 + overlay/etc/grub.d/20_linux_xen | 149 --------------------------------------- 2 files changed, 3 insertions(+), 149 deletions(-) delete mode 100755 overlay/etc/grub.d/20_linux_xen
Osstest/Debian.pm +3 -0
@@ -274,6 +274,9 @@ sub setupboot_grub1 ($$$) { return $bl; } +# Note on running OSSTest on Squeeze with old Xen kernel: check out +# Debian bug #633127 "/etc/grub/20_linux does not recognise some old +# Xen kernels" sub setupboot_grub2 ($$$) { my ($ho,$want_kernver,$xenhopt,$xenkopt) = @_; my $bl= { };
overlay/etc/grub.d/20_linux_xen deleted +0 -149
149 lines not on this page · raw message
Signature · 1 line
1.7.10.4
Wei Liu writes ("[PATCH OSSTEST] overlay: remove overlay/etc/grub.d/20_linux_xen"):
Quoted 8 lines
This file was created to work around Debian bug #633127.
According to Debian bug tracker [0], this bug is fixed in Wheezy. As we're now using Wheezy in OSSTest we can safely remove this overlay file.
Also add a note to reference #633127 above grub2 setup function, in case someone trips over this bug.
You probably want to fold this into your existing series ?
Ian.
Quoted 7 lines · Ian Jackson
Wei Liu writes ("[PATCH OSSTEST] overlay: remove overlay/etc/grub.d/20_linux_xen"):
Quoted 6 lines
This file was created to work around Debian bug #633127.
According to Debian bug tracker [0], this bug is fixed in Wheezy. As we're now using Wheezy in OSSTest we can safely remove this overlay file.
Quoted 7 lines
Quoted 2 lines
Also add a note to reference #633127 above grub2 setup function, in case someone trips over this bug.
Acked-by Ian Jackson <[email protected]>You probably want to fold this into your existing series ?
I'm running it in standalone mode now.
I was thinking about having this passed push gate first, in case there's any problem. I can stick it at the beginning of my series if you want me to.
Wei.
Quoted 1 line
Ian.
Wei Liu writes ("Re: [PATCH OSSTEST] overlay: remove overlay/etc/grub.d/20_linux_xen"):
Quoted 4 lines · Ian Jackson
Quoted 1 line
You probably want to fold this into your existing series ?
I'm running it in standalone mode now.
Right.
Quoted 3 lines
I was thinking about having this passed push gate first, in case there's any problem. I can stick it at the beginning of my series if you want me to.
Please do. I'm sure it will be fine.
Ian.
Quoted 7 lines · Ian Jackson
Wei Liu writes ("[PATCH OSSTEST] overlay: remove overlay/etc/grub.d/20_linux_xen"):
Quoted 6 lines
This file was created to work around Debian bug #633127.
According to Debian bug tracker [0], this bug is fixed in Wheezy. As we're now using Wheezy in OSSTest we can safely remove this overlay file.
Quoted 7 lines
Quoted 2 lines
Also add a note to reference #633127 above grub2 setup function, in case someone trips over this bug.
Acked-by Ian Jackson <[email protected]>You probably want to fold this into your existing series ?
Actually removing this overlay file causes another problem.
Wheezy's grub uses submenu and there's no way to disable it. It will cause our setup routine fail to spot the boot entry we want!
Somebody already filed a bug (#690538) long time ago but Wheezy itself it's not going to fix that. How annoying!
The way I see to move forward is to remove this overlay file, import latest 20_linux_xen, patch it and reference #690538 and the bug number for adding in xenpolicy file. And I will stick this patch at the beginning of my series.
Of course I can always leave this overlay file along and try to patch it.
Ian, which approach do you prefer?
Wei.
Quoted 1 line
Ian.
Wei Liu writes ("Re: [PATCH OSSTEST] overlay: remove overlay/etc/grub.d/20_linux_xen"):
Quoted 4 lines
The way I see to move forward is to remove this overlay file, import latest 20_linux_xen, patch it and reference #690538 and the bug number for adding in xenpolicy file. And I will stick this patch at the beginning of my series.
Right.
Quoted 4 lines
Of course I can always leave this overlay file along and try to patch it.
Ian, which approach do you prefer?
The former. Copying the more-recent file into our overlay is a fine thing to do.
Thanks,
Ian.