Skip to content
Snippets Groups Projects
Commit 4c220de1 authored by Bob Mottram's avatar Bob Mottram
Browse files

Set local repo clone to stretch

This should be removed after the upgrade
parent c961fb02
No related branches found
No related tags found
No related merge requests found
......@@ -387,6 +387,7 @@ EOF
echo " cd /root/${PROJECT_NAME}" >> $rootdir/root/.bashrc
echo " git stash" >> $rootdir/root/.bashrc
echo " git pull" >> $rootdir/root/.bashrc
echo " git checkout bashrc/stretch" >> $rootdir/root/.bashrc
echo " make install" >> $rootdir/root/.bashrc
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
......@@ -1292,9 +1293,11 @@ fi
sed -i "s|#host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
sed -i "s|host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
# TODO temporary for stretch
chroot "$rootdir" /bin/bash -x <<EOF
git clone $PROJECT_REPO /root/$PROJECT_NAME
cd /root/$PROJECT_NAME
git checkout bashrc/stretch
make install
EOF
......
......@@ -87,6 +87,8 @@ if [ -d $PROJECT_DIR ]; then
else
git_pull $PROJECT_REPO origin/$DEVELOPMENT_BRANCH
fi
# TODO temporary for stretch
git checkout bashrc/stretch
make install
if [ -d /usr/share/${PROJECT_NAME} ]; then
chown -R root:root /usr/share/${PROJECT_NAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment