From: Jeff Bailey Date: Sun, 26 Jan 2014 00:48:24 +0000 (+0000) Subject: discover/yaboot: support lilo & silo for x86 and Sparc. X-Git-Tag: v1.0.0~182 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=4caf65688fd16934235139cfa5e885a62f8f7370;hp=85421290c797c59320bf1e9f076f46195115ab92;ds=sidebyside discover/yaboot: support lilo & silo for x86 and Sparc. The yaboot.conf format is essentially the same format as silo.conf and lilo.conf, especially if the author isn't using OF paths. This is a cheap way of getting support for silo and lilo. Signed-off-by: Jeff Bailey Signed-off-by: Jeremy Kerr --- diff --git a/discover/yaboot-parser.c b/discover/yaboot-parser.c index 4dd1ea5..aa99392 100644 --- a/discover/yaboot-parser.c +++ b/discover/yaboot-parser.c @@ -325,11 +325,15 @@ static struct conf_global_option yaboot_global_options[] = { static const char *const yaboot_conf_files[] = { "/yaboot.conf", "/yaboot.cnf", + "/etc/lilo.conf", + "/etc/silo.conf", "/etc/yaboot.conf", "/etc/yaboot.cnf", "/suseboot/yaboot.cnf", "/YABOOT.CONF", "/YABOOT.CNF", + "/ETC/LILO.CONF", + "/ETC/SILO.CONF", "/ETC/YABOOT.CONF", "/ETC/YABOOT.CNF", "/SUSEBOOT/YABOOT.CNF",