This commit is contained in:
Your Name
2024-04-27 15:56:50 -05:00
parent 38238548a9
commit f6521ed78e
3 changed files with 16 additions and 17 deletions

View File

@@ -1,3 +1,5 @@
#!/usr/bin/bash #!/usr/bin/bash
bash /data/openpilot/system/clearpilot/on_start.sh
exec ./launch_chffrplus.sh exec ./launch_chffrplus.sh

View File

@@ -1,28 +1,22 @@
#!/bin/bash #!/bin/bash
# Check if nodejs is installed # Check if nodejs is installed
if ! which nodejs > /dev/null; then # if ! which nodejs > /dev/null; then
#sudo mount -o remount,rw / # #sudo mount -o remount,rw /
# Node.js is not installed, setting up the NodeSource Node.js 21.x repo # # Node.js is not installed, setting up the NodeSource Node.js 21.x repo
echo "Node.js not found. Setting up NodeSource Node.js 21.x repository..." # echo "Node.js not found. Setting up NodeSource Node.js 21.x repository..."
curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - # curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash -
# Install Node.js from the NodeSource repository # # Install Node.js from the NodeSource repository
echo "Installing Node.js..." # echo "Installing Node.js..."
sudo apt-get install -y nodejs # sudo apt-get install -y nodejs
fi # fi
# apt-get update
# apt-get install -y nodejs npm
apt-get update apt-get update
apt-get install -y python3-pyqt5 apt-get install -y nodejs npm python3-pyqt5 pywayland python3-pyqt5.qtwebengine
pip3 install termqt pip3 install termqt
apt-get install python3-pyqt5.qtwebengine
# pip3 install PyQtWebEngine
pip3 install pywayland
cd /data/openpilot/third_party/libyuv; cd /data/openpilot/third_party/libyuv
bash build.sh bash build.sh
cd libyuv && make && make install cd libyuv && make && make install

View File

@@ -0,0 +1,3 @@
#!/bin/bash
bash /data/openpilot/system/clearpilot/startup_logo/set_logo.sh