wip
This commit is contained in:
@@ -36,20 +36,26 @@ remove-passwd:
|
||||
.PHONY: apt-install
|
||||
apt-install:
|
||||
sudo apt update
|
||||
sudo apt install -y weston kitty libglfw3-dev libgl-dev libasound2-dev libv4l-dev
|
||||
sudo apt install -y weston seatd kitty libglfw3-dev libgl-dev libasound2-dev libv4l-dev
|
||||
|
||||
.PHONY: setup-weston
|
||||
setup-weston:
|
||||
ln -fs $(PWD)/system/weston.ini $(HOME)/.config/weston.ini
|
||||
|
||||
.PHONY: setup-system-services
|
||||
setup-system-services:
|
||||
.PHONY: setup-rasp-config
|
||||
setup-rasp-config:
|
||||
if [ ! -z $(grep "include forge-invar.txt" "/boot/firmware/config.txt") ]; then sudo sh -c 'echo \"include forge-invar.txt\" >> /boot/firmware/config.txt'; fi
|
||||
sudo cp -f $(PWD)/system/config.ini /boot/firmware/forge-invar.txt
|
||||
if [ ! -z $(grep "vc4.tv_norm" "/boot/firmware/cmdline.txt") ]; then sudo sh -c 'echo \"vc4.tv_norm=PAL\" >> /boot/firmware/cmdline.txt'; fi
|
||||
|
||||
.PHONY: setup-services
|
||||
setup-services:
|
||||
sudo ln -fs $(PWD)/system/getty@tty1.service /etc/systemd/system/getty@tty1.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable getty@tty1.service seatd.service
|
||||
|
||||
.PHONY: install
|
||||
install: remove-passwd apt-install setup-weston setup-system-services
|
||||
install: remove-passwd setup-rasp-config apt-install setup-weston setup-system-services
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user