fix --oldconfig

This commit is contained in:
Kolan Sh 2023-01-24 18:52:29 +03:00
parent 8e4deb0a79
commit dd69fd9e42
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ SILENT=false
MRPROPER=false
NICE_CMD="nice -n 19 ionice -c2"
CONFIG_FILE=/proc/config.gz
GENKERNEL_ARGS="--oldconfig"
GENKERNEL_ARGS=""
USE_GENKERNEL=true
[ -f /etc/gentoo-upgrade.conf ] && source /etc/gentoo-upgrade.conf
@ -34,6 +34,7 @@ while true ; do
esac
done
GENKERNEL_ARGS="$GENKERNEL_ARGS --oldconfig"
[ "$SILENT" != "true" ] && GENKERNEL_ARGS="$GENKERNEL_ARGS --menuconfig"
[ "$MRPROPER" == "true" ] && GENKERNEL_ARGS="$GENKERNEL_ARGS --mrproper"
which genkernel &>/dev/null || USE_GENKERNEL=false