mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 14:05:22 -04:00
[iso] add support for isolinux/syslinux ISO images
* use a modified syslinux that can use isolinux config files * update syslinux to git version * remove embedding of chain.c32 for the time being
This commit is contained in:
parent
7753c017d6
commit
36be65ed23
22 changed files with 323 additions and 126 deletions
Binary file not shown.
Binary file not shown.
|
@ -1,3 +1,5 @@
|
|||
o ldlinux.bss and ldlinux.sys were extracted from syslinux-4.05/core/
|
||||
and chain.c32 from syslinux-4.05/com32/modules:
|
||||
http://www.kernel.org/pub/linux/utils/boot/syslinux/
|
||||
o ldlinux.bss and ldlinux.sys were compiled from the syslinux git tree retreived
|
||||
on 2012.02.13 from git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git
|
||||
with the included .diff applied to be able to use unmodified isolinux config.
|
||||
o chain.c32 is from syslinux-4.05/com32/modules:
|
||||
http://www.kernel.org/pub/linux/utils/boot/syslinux/
|
29
res/syslinux/syslinux.diff
Normal file
29
res/syslinux/syslinux.diff
Normal file
|
@ -0,0 +1,29 @@
|
|||
diff --git a/core/fs/lib/loadconfig.c b/core/fs/lib/loadconfig.c
|
||||
index c9652b6..4dfe1b9 100644
|
||||
--- a/core/fs/lib/loadconfig.c
|
||||
+++ b/core/fs/lib/loadconfig.c
|
||||
@@ -10,6 +10,8 @@
|
||||
* This searches for extlinux.conf and syslinux.cfg in the install
|
||||
* directory, followed by a set of fallback directories. If found,
|
||||
* set the current working directory to match.
|
||||
+ * isolinux configuration values are added for the case where ISO
|
||||
+ * content has been duplicated to a disk (typically bootable USB).
|
||||
*/
|
||||
int generic_load_config(void)
|
||||
{
|
||||
@@ -17,12 +19,15 @@ int generic_load_config(void)
|
||||
NULL, /* CurrentDirName */
|
||||
"/boot/syslinux",
|
||||
"/syslinux",
|
||||
+ "/boot/isolinux",
|
||||
+ "/isolinux",
|
||||
"/",
|
||||
NULL
|
||||
};
|
||||
static const char *filenames[] = {
|
||||
"extlinux.conf",
|
||||
"syslinux.cfg",
|
||||
+ "isolinux.cfg",
|
||||
NULL
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue