fix: fixes error in ustreamer install
Error in func build_apps and clone_ustreamer leads to cloned repo and build ustreamer as root. This leads to failing make buildclean and build Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
parent
d4a2c08152
commit
046641af04
@ -330,6 +330,7 @@ clone_ustreamer() {
|
||||
if [[ -d bin/ustreamer ]]; then
|
||||
rm -rf bin/ustreamer
|
||||
fi
|
||||
sudo -u "${BASE_USER}" \
|
||||
git clone "${CROWSNEST_USTREAMER_REPO_SHIP}" \
|
||||
-b "${CROWSNEST_USTREAMER_REPO_BRANCH}" bin/ustreamer
|
||||
## Buster workaround
|
||||
@ -347,7 +348,7 @@ build_apps() {
|
||||
echo -e "Cloning ustreamer repository ..."
|
||||
clone_ustreamer
|
||||
pushd bin > /dev/null
|
||||
make all
|
||||
sudo -u "${BASE_USER}" make all
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user