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
|
if [[ -d bin/ustreamer ]]; then
|
||||||
rm -rf bin/ustreamer
|
rm -rf bin/ustreamer
|
||||||
fi
|
fi
|
||||||
|
sudo -u "${BASE_USER}" \
|
||||||
git clone "${CROWSNEST_USTREAMER_REPO_SHIP}" \
|
git clone "${CROWSNEST_USTREAMER_REPO_SHIP}" \
|
||||||
-b "${CROWSNEST_USTREAMER_REPO_BRANCH}" bin/ustreamer
|
-b "${CROWSNEST_USTREAMER_REPO_BRANCH}" bin/ustreamer
|
||||||
## Buster workaround
|
## Buster workaround
|
||||||
@ -347,7 +348,7 @@ build_apps() {
|
|||||||
echo -e "Cloning ustreamer repository ..."
|
echo -e "Cloning ustreamer repository ..."
|
||||||
clone_ustreamer
|
clone_ustreamer
|
||||||
pushd bin > /dev/null
|
pushd bin > /dev/null
|
||||||
make all
|
sudo -u "${BASE_USER}" make all
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user