Xenial/grub2: Changes for Xen

Stefan Bader stefan.bader at canonical.com
Tue Dec 1 08:52:25 UTC 2015


On 01.12.2015 01:05, Seth Arnold wrote:
> On Mon, Nov 30, 2015 at 04:01:44PM +0100, Stefan Bader wrote:
>> 20_linux_xen:
>>  xen_list=`for i in /boot/xen*; do
>> +        if echo "$i" | grep -q '\.efi$'; then continue; fi
>>          if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then echo -n
>> "$i " ; fi
>>        done`
> 
> Could this be changesd to use the same xen-*.gz you used in the
> descriptive text?
> 
>    xen_list=`for i in /boot/xen-*.gz; do
>            if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then echo -n
>   "$i " ; fi
>          done`

Maybe. Though one advantage of my variant (no, not currently planned on as far
as I know) would be that mine would work even if the .gz would one day be
replaced by a .bz2 or .xz or ...

-Stefan
> 
> Thanks
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20151201/f5511a3e/attachment.pgp>


More information about the ubuntu-devel mailing list