Last active
December 4, 2022 23:22
-
-
Save diginfo/c4e6efb9f4f4824132f25046a9c3747b to your computer and use it in GitHub Desktop.
This file contains 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 | |
## bash <(curl -Ls https://gist.github.com/diginfo/c4e6efb9f4f4824132f25046a9c3747b/raw/) | |
## | |
function _init { | |
rpi-update | |
apt install -y dpkg-dev raspberrypi-kernel-headers linux-image-generic | |
reboot | |
} | |
function _install { | |
curl https://raw.githubusercontent.com/senses3/pimox7/master/RPiOS64-IA-Install.sh > RPiOS64-IA-Install.sh; | |
chmod +x RPiOS64-IA-Install.sh; | |
./RPiOS64-IA-Install.sh; | |
} | |
function _kernel { | |
wget http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-kernel_1.20220120-1_arm64.deb | |
wget http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-kernel-headers_1.20220120-1_arm64.deb | |
dpkg -i raspberrypi-kernel_1.20220120-1_arm64.deb raspberrypi-kernel-headers_1.20220120-1_arm64.deb | |
apt-mark hold raspberrypi-kernel raspberrypi-kernel-headers | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment