]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
Debian: Ignore xen-syms entries in grub.cfg.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 15 Jun 2015 10:53:45 +0000 (11:53 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 26 Jun 2015 15:39:04 +0000 (16:39 +0100)
These can't (in general?) actually be booted.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/Debian.pm

index d35d7a3d7f54a0a9ba5b38a256497c4d1737298d..66d68395f0f702653c85cba2ebc592b66ba4f627 100644 (file)
@@ -427,6 +427,9 @@ sub setupboot_grub2 ($$$$) {
                if (@missing) {
                    logm("(skipping entry at $entry->{StartLine}..$.;".
                         " no @missing)");
+               } elsif ($entry->{Hv} =~ m/xen-syms/) {
+                   logm("(skipping entry at $entry->{StartLine}..$.;".
+                        " is xen-syms)");
                } elsif (defined $want_kernver &&
                         $entry->{KernVer} ne $want_kernver) {
                    logm("(skipping entry at $entry->{StartLine}..$.;".