This commit is contained in:
Patrick Schleizer 2023-05-05 15:04:21 +00:00
parent ec01c1a996
commit 014a28ba07
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -47,6 +47,7 @@ if compgen -G "/boot/config-*" > /dev/null && CONFIG=$(ls -1 -t /boot/config-* |
COMPAT_BITS_MAX="${COMPAT_BITS_MAX_DEFAULT}"
fi
else
## Could be a chroot.
echo "$0: INFO: No Linux config file detected in folder /boot/ (starting with 'config-'. Therefore using built-in defaults." >&2
BITS_MAX="${BITS_MAX_DEFAULT}"
COMPAT_BITS_MAX="${COMPAT_BITS_MAX_DEFAULT}"