LOCALNAME="$(cat .config | grep ^CONFIG_LOCALVERSION= | cut -d = -f 2- | tr -d '"')"
version="$(grep -oP '^\d+\.\d+\.\d+' <<< "$PKGVER")"
abinfo "Upstream version for this kernel is \"$version\""
abinfo "Local Name for this kernel is \"$LOCALNAME\""

# vim: set noexpandtab sts=4 ts=4 sw=4 syntax=bash :
