This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -eux -o pipefail | |
| # Remove old pi packages list | |
| sudo rm -f /etc/apt/apt.conf.d/99rpimonitor /etc/apt/sources.list.d/rpi-monitor.list | |
| # Replace version name in all source lists and fix up naming | |
| sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/* /etc/apt/sources.list | |
| sudo sed -i '/debian-security\//b; s/\/debian-security/\/debian-security\//g' /etc/apt/sources.list.d/* /etc/apt/sources.list | |
| sudo sed -i '/security/ s,bullseye/updates,bullseye-security,g' /etc/apt/sources.list.d/* /etc/apt/sources.list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -eux -o pipefail | |
| # Remove old pi packages list | |
| sudo rm -f /etc/apt/apt.conf.d/99rpimonitor /etc/apt/sources.list.d/rpi-monitor.list | |
| # Replace version name in all source lists and fix up naming | |
| sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/* /etc/apt/sources.list | |
| sudo sed -i '/debian-security\//b; s/\/debian-security/\/debian-security\//g' /etc/apt/sources.list.d/* /etc/apt/sources.list | |
| sudo sed -i '/security/ s,bookworm/updates,bookworm-security,g' /etc/apt/sources.list.d/* /etc/apt/sources.list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Requirements: | |
| # - macOS | |
| # - qemu - `brew install qemu` | |
| # - A raw 64-bit Raspberry Pi system image to boot (Usually a .img) | |
| # Raspberry Pi 3 | |
| DTB=bcm2710-rpi-3-b-plus.dtb | |
| MACHINE=raspi3b |
OlderNewer