From c01bcfa73a6d795f33df639ba36304a704d13561 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Tue, 27 Aug 2019 11:07:32 +0200 Subject: [PATCH] Use TOOLS_SYSCONFDIR for the default zipl.conf path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the configurable sysconf path instead of a hard-coded path for the default zipl location. Signed-off-by: Marc Hartmayer Reviewed-by: Peter Oberparleiter Signed-off-by: Jan Höppner --- zipl/include/zipl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipl/include/zipl.h b/zipl/include/zipl.h index 6f2d1157..02827e2a 100644 --- a/zipl/include/zipl.h +++ b/zipl/include/zipl.h @@ -47,7 +47,7 @@ #define DEFAULTBOOT_SECTION "defaultboot" #define ZIPL_CONF_VAR "ZIPLCONF" -#define ZIPL_DEFAULT_CONF "/etc/zipl.conf" +#define ZIPL_DEFAULT_CONF TOOLS_SYSCONFDIR "/zipl.conf" #define ZIPL_DEFAULT_BLSDIR "/boot/loader/entries" #define ZIPL_STAGE3_PATH TOOLS_LIBDIR "/stage3.bin" #define ZIPL_SIPL_PATH "/sys/firmware/ipl/has_secure"