From 5864c9d5b394b9a2042f8aac18bba3e5352762fe Mon Sep 17 00:00:00 2001 From: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com> Date: Tue, 7 Nov 2023 14:30:35 +0100 Subject: [PATCH] chore: wip --- tools/install.sh | 6 ++++-- tools/libs/messages.sh | 4 ++++ tools/libs/pkglist-rpi.sh | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tools/install.sh b/tools/install.sh index 2b7a4776..96259114 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -49,6 +49,10 @@ main() { [[ -n "${BASE_USER}" ]] || BASE_USER="${SUDO_USER}" + welcome_msg + + cs_tests_msg + [[ -n "${INSTALL_CS}" ]] || INSTALL_CS="$(shallow_cs_dependencies_check)" if [[ "$(is_buster)" = "1" && "${INSTALL_CS}" == "1" ]]; then @@ -56,8 +60,6 @@ main() { exit 1 fi - welcome_msg - msg "Running apt-get update first ...\n" if run_apt_update; then status_msg "Running apt-get update first ..." "0" diff --git a/tools/libs/messages.sh b/tools/libs/messages.sh index 7e668358..917cdaf2 100755 --- a/tools/libs/messages.sh +++ b/tools/libs/messages.sh @@ -72,6 +72,10 @@ welcome_msg() { sleep 1 } +cs_tests_msg() { + msg "\n\tDoing some tests first. Please have patience ...\n" +} + config_msg() { msg "\nConfig file not found!\n\tUsing defaults ..." msg "\tThis uses paths located in 'printer_data' of your home folder." diff --git a/tools/libs/pkglist-rpi.sh b/tools/libs/pkglist-rpi.sh index 966143a3..d2a4ff1f 100644 --- a/tools/libs/pkglist-rpi.sh +++ b/tools/libs/pkglist-rpi.sh @@ -22,5 +22,6 @@ PKGLIST="git crudini bsdutils findutils v4l-utils curl" ### Ustreamer Dependencies PKGLIST="${PKGLIST} build-essential libevent-dev libjpeg-dev libbsd-dev" ### Camera-Streamer Dependencies +### If you change something below, also have a look at tools/libs/core.sh->shallow_cs_dependencies_check PKGLIST="${PKGLIST} cmake libavformat-dev libavutil-dev libavcodec-dev libcamera-dev libcamera-apps-lite" PKGLIST="${PKGLIST} liblivemedia-dev pkg-config xxd build-essential cmake libssl-dev"