Package: syslinux / 2:4.05+dfsg-6+deb7u1

10-conffiles.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
Description:
 Adding alternative locations in for configuration files for the
 bootloader configuration.

diff -Naurp syslinux.orig/core/fs/iso9660/iso9660.c syslinux/core/fs/iso9660/iso9660.c
--- syslinux.orig/core/fs/iso9660/iso9660.c	2012-05-23 06:40:14.416998660 +0200
+++ syslinux/core/fs/iso9660/iso9660.c	2012-05-23 06:44:02.994526009 +0200
@@ -233,12 +233,14 @@ static int iso_load_config(void)
 	"/isolinux",
 	"/boot/syslinux", 
 	"/syslinux", 
+	"/boot",
 	"/",
 	NULL
     };
     static const char *filenames[] = {
 	"isolinux.cfg",
 	"syslinux.cfg",
+	"boot.cfg",
 	NULL
     };
 
diff -Naurp syslinux.orig/core/fs/lib/loadconfig.c syslinux/core/fs/lib/loadconfig.c
--- syslinux.orig/core/fs/lib/loadconfig.c	2012-05-23 06:40:13.648993552 +0200
+++ syslinux/core/fs/lib/loadconfig.c	2012-05-23 06:44:02.994526009 +0200
@@ -17,12 +17,14 @@ int generic_load_config(void)
 	NULL,			/* CurrentDirName */
 	"/boot/syslinux",
 	"/syslinux",
+	"/boot",
 	"/",
 	NULL
     };
     static const char *filenames[] = {
 	"extlinux.conf",
 	"syslinux.cfg",
+	"boot.cfg",
 	NULL
     };