[Libguestfs] [PATCH 2/2] tests/syslinux: add new syslinux 6+ path of mbr.bin

Richard W.M. Jones rjones at redhat.com
Fri May 9 09:55:22 UTC 2014


On Fri, May 09, 2014 at 11:01:50AM +0200, Pino Toscano wrote:
> Reported in https://bugs.debian.org/746748.
> ---
>  tests/syslinux/test-syslinux.pl | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/syslinux/test-syslinux.pl b/tests/syslinux/test-syslinux.pl
> index 8a227d4..a0db963 100755
> --- a/tests/syslinux/test-syslinux.pl
> +++ b/tests/syslinux/test-syslinux.pl
> @@ -32,7 +32,8 @@ my $disk = "$bootloader-guest.img";
>  my $mbr;
>  my @mbr_paths = (
>    "/usr/share/syslinux/mbr.bin",
> -  "/usr/lib/syslinux/mbr.bin"
> +  "/usr/lib/syslinux/mbr.bin",
> +  "/usr/lib/syslinux/mbr/mbr.bin"
>  );
>  foreach my $m (@mbr_paths) {
>    if (-f $m) {
> -- 
> 1.9.0

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list