File tree 4 files changed +42
-2
lines changed
4 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 24
24
- name : raspi
25
25
script : ./install_pi.sh
26
26
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
27
30
- name : snakeyes
28
31
script : ./install_snakeyes.sh
29
32
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
31
31
apt-get install -y pigpiod pigpio device-tree-compiler
32
32
apt-get install -y network-manager net-tools
33
33
# 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
35
35
36
36
rm -rf /var/lib/apt/lists/*
37
37
apt-get clean
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ sudo apt-get update
28
28
apt-get install -y pigpiod pigpio device-tree-compiler
29
29
apt-get install -y network-manager net-tools
30
30
# 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
32
32
33
33
rm -rf /var/lib/apt/lists/*
34
34
apt-get clean
You can’t perform that action at this time.
0 commit comments