]> git.ipfire.org Git - thirdparty/grub.git/commit
syslinux: Fix syslinux_test in out-of-tree builds
authorColin Watson <cjwatson@ubuntu.com>
Wed, 27 Feb 2019 10:26:30 +0000 (10:26 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 5 Mar 2019 09:27:53 +0000 (10:27 +0100)
commitf8f35acb5b05d40e3707a9d2db9ede60023e4cac
tree48b2ba9fb522ea901a2bd0c1cf7fb3e2ec54f7bc
parent62daa27056b2af38cd65bfb482e4429fb660db6d
syslinux: Fix syslinux_test in out-of-tree builds

syslinux_parse simplifies some filenames by removing things like ".."
segments, but the tests assumed that @abs_top_srcdir@ would be
untouched, which is not true in the case of out-of-tree builds where
@abs_top_srcdir@ may contain ".." segments.

Performing the substitution requires some awkwardness in Makefile.am due
to details of how config.status works.

Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Makefile.am
grub-core/lib/syslinux_parse.c
tests/syslinux/ubuntu10.04_grub.cfg.in