diff mbox series

[v2,07/30] discover/kboot-parser: Look in /boot

Message ID d3a087ba9c971ca833e40dd1312cc95a8ceeb97f.1533230644.git.geoff@infradead.org
State Accepted
Headers show
Series [v2,01/30] docker: Add libfdt-dev | expand

Commit Message

Geoff Levand Aug. 2, 2018, 5:29 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
 };