|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH v2 14/23] Osstest/Debian: bootloader: Ignore `.config' files
Some versions of the bootloader scripts will make menu entries for
`.config' files, containing the hypervisor config. These should be
ignored.
(It is not clear to me, given our 20_linux_xen hack, whether this is
in fact an upstream bug, or a bug in 20_linux_xen.)
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
Osstest/Debian.pm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 019893d..97d451f 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -476,6 +476,9 @@ sub setupboot_grub2 ($$$$) {
} elsif ($entry->{Hv} =~ m/xen-syms/) {
logm("(skipping entry at $entry->{StartLine}..$.;".
" is xen-syms)");
+ } elsif ($entry->{Hv} =~ m/\.config$/) {
+ logm("(skipping entry at $entry->{StartLine}..$.;".
+ " is .config)");
} elsif (defined $want_kernver &&
$entry->{KernVer} ne $want_kernver) {
logm("(skipping entry at $entry->{StartLine}..$.;".
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |