switch to bullseye kernel

This commit is contained in:
oliverpool 2022-03-23 20:49:32 +01:00
parent f1572e6763
commit 160ac6a667

View file

@ -21,7 +21,7 @@ func main() {
}
const baseURL = "https://archive.raspberrypi.org/debian/"
const packagesURL = baseURL + "dists/buster/main/binary-armhf/Packages"
const packagesURL = baseURL + "dists/bullseye/main/binary-armhf/Packages"
func run() error {
log.Println("checking:", packagesURL)
@ -48,7 +48,8 @@ func run() error {
if !found {
after = before
}
tagName, _, _ := strings.Cut(after, "~")
tagName, _, _ := strings.Cut(after, "-")
tagName, _, _ = strings.Cut(after, "~")
log.Println("latest version:", tagName)