Navigation Menu

Skip to content

Commit

Permalink
core/fs/lib/loadconfig.c: Add architecture-specific config name to se…
Browse files Browse the repository at this point in the history
…arch

When multiple architectures are on a single media, all will try to use the
same config, preventing PATH from pointing to an architecture-specific
directory.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  • Loading branch information
Ady authored and geneC committed Sep 20, 2015
1 parent e0ac1d2 commit 7d9c9ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/fs/lib/loadconfig.c
Expand Up @@ -22,6 +22,11 @@ int generic_open_config(struct com32_filedata *filedata)
};
static const char *filenames[] = {
"extlinux.conf",
#if defined(__FIRMWARE_EFI64__)
"syslx64.cfg",
#elif defined(__FIRMWARE_EFI32__)
"syslia32.cfg",
#endif
"syslinux.cfg",
NULL
};
Expand Down

0 comments on commit 7d9c9ec

Please sign in to comment.