diff mbox series

[v1,06/10] discover/kboot-parser: Look in /boot

Message ID ec9740ba65d81a7e60bd4e2fdc2d461adf112d40.1531170563.git.geoff@infradead.org
State Superseded
Headers show
Series [v1,01/10] docker: Add libfdt-dev | expand

Commit Message

Geoff Levand July 9, 2018, 9:21 p.m. UTC
Other parsers look in /boot for config files, so add
it to the kboot parser.

Signed-off-by: Geoff Levand <geoff@infradead.org>
---
 discover/kboot-parser.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c
index bf9c5eb..62512cf 100644
--- a/discover/kboot-parser.c
+++ b/discover/kboot-parser.c
@@ -145,10 +145,14 @@  static const char *const kboot_conf_files[] = {
 	"/kboot.cnf",
 	"/etc/kboot.conf",
 	"/etc/kboot.cnf",
+	"/boot/kboot.conf",
+	"/boot/kboot.cnf",
 	"/KBOOT.CONF",
 	"/KBOOT.CNF",
 	"/ETC/KBOOT.CONF",
 	"/ETC/KBOOT.CNF",
+	"/BOOT/KBOOT.CONF",
+	"/BOOT/KBOOT.CNF",
 	NULL
 };