refactor(installl): refactor install chain
This commit should cover the following: Missing insatllation candidate of libjpeg8-dev in bullseye images, fixes #16 and #15 Refactores installation of ustreamer. This should cover #12 Dropped ustreamer as submodule and clone it via install script. For buster based images it reset the repo to last commit of v4.13 (omx support) All other will get master branch (latest commit at insatllation) This enables posibility to write an app updater. Fixes custompios module according to changes.
This commit is contained in:
@@ -22,7 +22,8 @@ echo_green "Installing crowsnest and enable webcam Service ..."
|
||||
# force apt update
|
||||
apt update
|
||||
# It could use inbuilt dependencie check, but should speed up if preinstalled.
|
||||
check_install_pkgs "${CROWSNEST_CROWSNEST_DEPS}"
|
||||
# shellcheck disable=SC2086
|
||||
check_install_pkgs ${CROWSNEST_CROWSNEST_DEPS} ${CROWSNEST_USTREAMER_DEPS}
|
||||
# Move to $HOME dir
|
||||
pushd "/home/${BASE_USER}" &> /dev/null || exit 1
|
||||
# make sure config folder exist
|
||||
|
Reference in New Issue
Block a user