On Mon, Feb 28, 2022 at 02:47:24PM +0100, Stefan Hagen wrote:
> But now I see that NEXT_VERSION is set earlier and this should fix it:
>
> -if $RELEASE && [[ ${_KERNV[1]} == '-beta' ]]; then
> +if $RELEASE || [[ ${_KERNV[1]} == '-beta' ]]; thenIt would fix this particular case, but this code is here for the situation where: A user is on 7.1-beta, 7.1 is release and the user does `sysupgrade -r` This patch would break that case. I will keep thinking on a proper fix.
