mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
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>
This commit is contained in:
1 parent
62daa27056
commit
f8f35acb5b
3 files changed
+20
-11
No files matched your search
@@ -41,7 +41,7 @@ menuentry 'Test memory' --hotkey 'm' --id 'memtest' {
|
||||
linux$linux_suffix '/'/'/install/mt86plus'
|
||||
}
|
||||
menuentry 'Boot from first hard disk' --hotkey 'b' --id 'hd' {
|
||||
# File (host)/@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/gtk.cfg not found
|
||||
# File (host)/@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/gtk.cfg not found
|
||||
# UNSUPPORTED command 'menu begin advanced'
|
||||
# UNSUPPORTED command 'menu title Advanced options'
|
||||
# UNSUPPORTED command 'menu color title * #FFFFFFFF *'
|
||||
@@ -63,14 +63,14 @@ menuentry 'Boot from first hard disk' --hotkey 'b' --id 'hd' {
|
||||
}
|
||||
menuentry 'Back..' --hotkey 'b' --id 'mainmenu' {
|
||||
# UNSUPPORTED command 'menu exit'
|
||||
# File (host)/@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/adgtk.cfg not found
|
||||
# File (host)/@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/adgtk.cfg not found
|
||||
# UNSUPPORTED command 'menu end'
|
||||
# UNSUPPORTED entry type 0
|
||||
true;
|
||||
}
|
||||
menuentry 'Help' --hotkey 'h' --id 'help' {
|
||||
# UNSUPPORTED command 'ui gfxboot bootlogo'
|
||||
#'@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux'/'prompt.cfg' (host)@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/prompt.cfg:
|
||||
#'@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux'/'prompt.cfg' (host)@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/prompt.cfg:
|
||||
background_image '@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/'/'splash.png'
|
||||
# UNSUPPORTED command 'display f1.txt'
|
||||
# UNSUPPORTED command 'menu hshift 13'
|
||||
@@ -114,7 +114,7 @@ menuentry 'Test memory' --hotkey 'm' --id 'memtest' {
|
||||
linux$linux_suffix '/'/'/install/mt86plus'
|
||||
}
|
||||
menuentry 'Boot from first hard disk' --hotkey 'b' --id 'hd' {
|
||||
# File (host)/@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux//gtk.cfg not found
|
||||
# File (host)/@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux//gtk.cfg not found
|
||||
# UNSUPPORTED command 'menu begin advanced'
|
||||
# UNSUPPORTED command 'menu title Advanced options'
|
||||
# UNSUPPORTED command 'menu color title * #FFFFFFFF *'
|
||||
@@ -136,13 +136,13 @@ menuentry 'Boot from first hard disk' --hotkey 'b' --id 'hd' {
|
||||
}
|
||||
menuentry 'Back..' --hotkey 'b' --id 'mainmenu' {
|
||||
# UNSUPPORTED command 'menu exit'
|
||||
# File (host)/@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux//adgtk.cfg not found
|
||||
# File (host)/@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux//adgtk.cfg not found
|
||||
# UNSUPPORTED command 'menu end'
|
||||
# UNSUPPORTED entry type 0
|
||||
true;
|
||||
}
|
||||
menuentry 'Help' --hotkey 'h' --id 'help' {
|
||||
#'@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/'/'prompt.cfg' (host)@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/prompt.cfg:
|
||||
#'@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/'/'prompt.cfg' (host)@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/prompt.cfg:
|
||||
syslinux_configfile -r '/'/'/' -c '@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/'/'' '@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/'/'prompt.cfg'
|
||||
}
|
||||
menuentry 'menu' --id 'menu' {
|
||||
@@ -156,7 +156,7 @@ menuentry 'menu' --id 'menu' {
|
||||
# UNSUPPORTED command 'f8 f8.txt'
|
||||
# UNSUPPORTED command 'f9 f9.txt'
|
||||
# UNSUPPORTED command 'f0 f10.txt'
|
||||
#'@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/'/'isolinux.cfg' (host)@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/isolinux.cfg:
|
||||
#'@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/'/'isolinux.cfg' (host)@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/isolinux.cfg:
|
||||
background_image '@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux//'/'splash.png'
|
||||
# D-I config version 2.0
|
||||
# UNSUPPORTED command 'menu hshift 13'
|
||||
@@ -200,7 +200,7 @@ menuentry 'Test memory' --hotkey 'm' --id 'memtest' {
|
||||
linux$linux_suffix '/'/'/install/mt86plus'
|
||||
}
|
||||
menuentry 'Boot from first hard disk' --hotkey 'b' --id 'hd' {
|
||||
# File (host)/@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux///gtk.cfg not found
|
||||
# File (host)/@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux///gtk.cfg not found
|
||||
# UNSUPPORTED command 'menu begin advanced'
|
||||
# UNSUPPORTED command 'menu title Advanced options'
|
||||
# UNSUPPORTED command 'menu color title * #FFFFFFFF *'
|
||||
@@ -222,14 +222,14 @@ menuentry 'Boot from first hard disk' --hotkey 'b' --id 'hd' {
|
||||
}
|
||||
menuentry 'Back..' --hotkey 'b' --id 'mainmenu' {
|
||||
# UNSUPPORTED command 'menu exit'
|
||||
# File (host)/@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux///adgtk.cfg not found
|
||||
# File (host)/@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux///adgtk.cfg not found
|
||||
# UNSUPPORTED command 'menu end'
|
||||
# UNSUPPORTED entry type 0
|
||||
true;
|
||||
}
|
||||
menuentry 'Help' --hotkey 'h' --id 'help' {
|
||||
# UNSUPPORTED command 'ui gfxboot bootlogo'
|
||||
#'@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux//'/'prompt.cfg' (host)@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/prompt.cfg:
|
||||
#'@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux//'/'prompt.cfg' (host)@simplified_abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/prompt.cfg:
|
||||
syslinux_configfile -r '/'/'/' -c '@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux//'/'' '@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux//'/'prompt.cfg'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user