File tree Expand file tree Collapse file tree 4 files changed +42
-2
lines changed Expand file tree Collapse file tree 4 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 2424 - name : raspi
2525 script : ./install_pi.sh
2626 base_image : https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-07-04/2024-07-04-raspios-bookworm-arm64-lite.img.xz
27+ - name : raspi_dev
28+ script : ./install_dev_pi.sh
29+ base_image : https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-07-04/2024-07-04-raspios-bookworm-arm64-lite.img.xz
2730 - name : snakeyes
2831 script : ./install_snakeyes.sh
2932 base_image : https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-07-04/2024-07-04-raspios-bookworm-arm64-lite.img.xz
Original file line number Diff line number Diff line change 1+ # Run normal photon installer
2+ chmod +x ./install.sh
3+ ./install.sh -q
4+
5+ # and edit boot partition
6+ install -m 644 config.txt /boot/
7+ install -m 644 userconf.txt /boot/
8+
9+ # Kill wifi and other networking things
10+ install -v -m 644 files/wait.conf /etc/systemd/system/dhcpcd.service.d/
11+ install -v files/rpi-blacklist.conf /etc/modprobe.d/blacklist.conf
12+
13+ # Update pigipio service file to listen locally
14+ install -v -m 644 files/pigpiod.service /lib/systemd/system/pigpiod.service
15+ systemctl daemon-reload
16+
17+ # Enable ssh/pigpiod
18+ systemctl enable ssh
19+ systemctl enable pigpiod
20+
21+ # Remove extra packages too
22+ echo " Purging extra things"
23+ apt-get purge -y gdb gcc g++ linux-headers* libgcc* -dev
24+ apt-get autoremove -y
25+
26+ echo " Installing additional things"
27+ sudo apt-get update
28+ apt-get install -y pigpiod pigpio device-tree-compiler
29+ apt-get install -y network-manager net-tools
30+ # libcamera-driver stuff
31+ apt-get install -y libegl1 libopengl0 libgl1-mesa-dri libgbm1 libegl1-mesa-dev libcamera-dev cmake build-essential libdrm-dev libgbm-dev default-jdk openjdk-17-jdk
32+
33+ rm -rf /var/lib/apt/lists/*
34+ apt-get clean
35+
36+ rm -rf /usr/share/doc
37+ rm -rf /usr/share/locale/
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ sudo apt-get update
3131apt-get install -y pigpiod pigpio device-tree-compiler
3232apt-get install -y network-manager net-tools
3333# libcamera-driver stuff
34- apt-get install -y libegl1 libopengl0 libgl1-mesa-dri libcamera0.3 libgbm1
34+ apt-get install -y libegl1 libopengl0 libgl1-mesa-dri libcamera-dev libgbm1
3535
3636rm -rf /var/lib/apt/lists/*
3737apt-get clean
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ sudo apt-get update
2828apt-get install -y pigpiod pigpio device-tree-compiler
2929apt-get install -y network-manager net-tools
3030# libcamera-driver stuff
31- apt-get install -y libegl1 libopengl0 libgl1-mesa-dri libcamera0.3 libgbm1
31+ apt-get install -y libegl1 libopengl0 libgl1-mesa-dri libcamera-dev libgbm1
3232
3333rm -rf /var/lib/apt/lists/*
3434apt-get clean
You can’t perform that action at this time.
0 commit comments