switch to bullseye kernel
This commit is contained in:
parent
f1572e6763
commit
160ac6a667
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue