Osstest/Debian: bootloader: Fix grub parsing for XSM and multiboot1
PATCH 1/1 Osstest/Debian: bootloader: Fix grub parsing for XSM and multiboot1
bca3edb4ac0d670098b7618cbaccf7577aca267a
"Osstest/Debian: bootloader: Understand multiboot2 syntax"
was supposed to change multiboot' and module' in the grub2 menu parser to multiboot2?' and module2?'. But the entry for matching XSM policy file lines was missing the ?, which broke all multiboot1 XSM tests. Fix this.
--- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Osstest/Debian.pm +1 -1
@@ -532,7 +532,7 @@ sub setupboot_grub2 ($$$$) { if (m/^\s*module2?\s*(?:\/boot)?\/(initrd\S+)/) { $entry->{Initrd}= $1; } - if (m/^\s*module2\s*\/(xenpolicy\S+)/) { + if (m/^\s*module2?\s*\/(xenpolicy\S+)/) { $entry->{Xenpolicy}= $1; } }
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Ian Jackson writes ("[OSSTEST PATCH] Osstest/Debian: bootloader: Fix grub parsing for XSM and multiboot1"):
Quoted 9 lines
bca3edb4ac0d670098b7618cbaccf7577aca267a
"Osstest/Debian: bootloader: Understand multiboot2 syntax"
was supposed to changemultiboot' andmodule' in the grub2 menu parser tomultiboot2?' andmodule2?'. But the entry for matching XSM policy file lines was missing the ?, which broke all multiboot1 XSM tests. Fix this.Reported-by Jan Beulich <[email protected]>Signed-off-by Ian Jackson <[email protected]>
This was a sufficiently obvious fix, and the damage without this patch sufficiently bad, that I have force pushed it.
So the xen-unstable-smoke tests should start working soon.
There will still be some flights currently in progress which will be affected by this bug, since a running production flight doesn't pick up new osstest code.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel