Skip to content

Commit f983468

Browse files
installkernel: support more locations for install.conf
Signed-off-by: Nowa Ammerlaan <[email protected]>
1 parent 77da93d commit f983468

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

installkernel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ if [ -n "${INSTALLKERNEL_CONF_ROOT}" ]; then
121121
install_conf="${INSTALLKERNEL_CONF_ROOT}/install.conf"
122122
elif [ -f "/etc/kernel/install.conf" ]; then
123123
install_conf="/etc/kernel/install.conf"
124+
elif [ -f "/run/kernel/install.conf" ]; then
125+
install_conf="/run/kernel/install.conf"
126+
elif [ -f "/usr/local/lib/kernel/install.conf" ]; then
127+
install_conf="/usr/local/lib/kernel/install.conf"
124128
elif [ -f "/usr/lib/kernel/install.conf" ]; then
125129
install_conf="/usr/lib/kernel/install.conf"
126130
else

0 commit comments

Comments
 (0)