Update dependencies and add Viseron release fetch
Added gcc, musl-dev, and libpq-dev to the list of installed dependencies. Included a step to fetch and deploy the latest Viseron GitHub release to /opt/viseron before setting up the Python environment.
This commit is contained in:
parent
de080793ca
commit
7d6822ecbd
@ -16,11 +16,11 @@ update_os
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y \
|
||||
python3-opencv jq \
|
||||
libgl1-mesa-glx libglib2.0-0 pciutils \
|
||||
libgl1-mesa-glx libglib2.0-0 pciutils gcc musl-dev \
|
||||
libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 \
|
||||
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav \
|
||||
build-essential python3-dev python3-gi pkg-config libcairo2-dev gir1.2-glib-2.0 \
|
||||
cmake gfortran libopenblas-dev liblapack-dev libgirepository1.0-dev git
|
||||
cmake gfortran libopenblas-dev liblapack-dev libgirepository1.0-dev git libpq-dev
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PG_VERSION="16" setup_postgresql
|
||||
@ -51,6 +51,8 @@ if [[ "$CTTYPE" == "0" ]]; then
|
||||
fi
|
||||
msg_ok "Hardware Acceleration Configured"
|
||||
|
||||
fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron" "/opt/viseron"
|
||||
|
||||
msg_info "Setting up Python Environment"
|
||||
uv venv --python "python3.13" /opt/viseron/.venv
|
||||
uv pip install --python /opt/viseron/.venv/bin/python --upgrade pip setuptools wheel
|
||||
|
Loading…
x
Reference in New Issue
Block a user