-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2b2a85
commit 744897e
Showing
4 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Run normal photon installer | ||
chmod +x ./install.sh | ||
./install.sh -q | ||
|
||
# and edit boot partition | ||
install -m 644 config.txt /boot/ | ||
install -m 644 userconf.txt /boot/ | ||
|
||
# Kill wifi and other networking things | ||
install -v -m 644 files/wait.conf /etc/systemd/system/dhcpcd.service.d/ | ||
install -v files/rpi-blacklist.conf /etc/modprobe.d/blacklist.conf | ||
|
||
# Update pigipio service file to listen locally | ||
install -v -m 644 files/pigpiod.service /lib/systemd/system/pigpiod.service | ||
systemctl daemon-reload | ||
|
||
# Enable ssh/pigpiod | ||
systemctl enable ssh | ||
systemctl enable pigpiod | ||
|
||
# Remove extra packages too | ||
echo "Purging extra things" | ||
apt-get purge -y gdb gcc g++ linux-headers* libgcc*-dev | ||
apt-get autoremove -y | ||
|
||
echo "Installing additional things" | ||
sudo apt-get update | ||
apt-get install -y pigpiod pigpio device-tree-compiler | ||
apt-get install -y network-manager net-tools | ||
# libcamera-driver stuff | ||
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 | ||
|
||
rm -rf /var/lib/apt/lists/* | ||
apt-get clean | ||
|
||
rm -rf /usr/share/doc | ||
rm -rf /usr/share/locale/ |
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
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