[syslinux] syslinux efi configuration file name proposal
Ady
ady-sf at hotmail.com
Wed Oct 15 04:00:34 PDT 2014
>
> A simpler patch for just the config filenames (whitespace changed for email):
>
> diff --git a/core/fs/lib/loadconfig.c b/core/fs/lib/loadconfig.c
> index 95e6f3f..47101f9 100644
> --- a/core/fs/lib/loadconfig.c
> +++ b/core/fs/lib/loadconfig.c
> @@ -22,6 +22,11 @@ int generic_open_config(struct com32_filedata *filedata)
> };
> static const char *filenames[] = {
> "extlinux.conf",
> +#if defined(__FIRMWARE_EFI64__)
> + "syslnx64.cfg",
> +#elif defined(__FIRMWARE_EFI32__)
> + "syslnx32.cfg",
> +#endif
> "syslinux.cfg",
> NULL
> };
>
>
> --
> -Gene
>
Please allow me to adapt it and propose the file names as I suggested
them back in August (following the same short names as the UEFI
specs):
--- a/core/fs/lib/loadconfig.c
+++ b/core/fs/lib/loadconfig.c
@@ -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
};
Regards,
Ady.
More information about the Syslinux
mailing list