[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] read grubenv and set default from saved_entry or next_entry
On Thu, 15 Aug 2019, Steven Haigh wrote: > Having a bit of a look here.... > > My test system grubenv file has: > # GRUB Environment Block > saved_entry=0 > kernelopts=root=UUID=5346b4d9-885f-4673-8aff-04a16bf1971a ro > rootflags=subvol=root selinux=0 rhgb quiet > boot_success=1 It looks like the edit raise RuntimeError("syntax error: cannot nest menuentry (%d %s)" % (len(img),img)) img = [] title = title_match.group(1) + if title == default_title: + setattr(self, 'default', img_count) + img_count += 1 continue if l.startswith("submenu"): also needs a test for default_title == img_count though there may be variable types to consider in that comparison. Michael Young _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |