Index: ./usr.sbin/sysupgrade/sysupgrade.sh =================================================================== RCS file: /home/cvs/src/usr.sbin/sysupgrade/sysupgrade.sh,v retrieving revision 1.45 diff -u -p -r1.45 sysupgrade.sh --- ./usr.sbin/sysupgrade/sysupgrade.sh 11 Feb 2022 12:58:18 -0000 1.45 +++ ./usr.sbin/sysupgrade/sysupgrade.sh 27 Feb 2022 08:14:18 -0000 @@ -123,7 +123,11 @@ fi if $SNAP; then URL=${MIRROR}/snapshots/${ARCH}/ - FW_URL=http://firmware.openbsd.org/firmware/snapshots/ + if [[ ${_KERNV[1]} == '-beta' ]]; then + FW_URL=http://firmware.openbsd.org/firmware/${_KERNV[0]}/ + else + FW_URL=http://firmware.openbsd.org/firmware/snapshots/ + fi else URL=${MIRROR}/${NEXT_VERSION}/${ARCH}/ FW_URL=http://firmware.openbsd.org/firmware/${NEXT_VERSION}/