Stick with jessie

This commit is contained in:
Bob Mottram 2017-06-08 10:57:57 +01:00
parent 54c9a071f9
commit 0ee038545f
2 changed files with 3 additions and 0 deletions

View File

@ -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 jessie" >> $rootdir/root/.bashrc
echo " make install" >> $rootdir/root/.bashrc
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
@ -1295,6 +1296,7 @@ sed -i "s|host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-dae
chroot "$rootdir" /bin/bash -x <<EOF
git clone $PROJECT_REPO /root/$PROJECT_NAME
cd /root/$PROJECT_NAME
git checkout jessie
make install
EOF

View File

@ -87,6 +87,7 @@ if [ -d $PROJECT_DIR ]; then
else
git_pull $PROJECT_REPO origin/$DEVELOPMENT_BRANCH
fi
git checkout jessie
make install
if [ -d /usr/share/${PROJECT_NAME} ]; then
chown -R root:root /usr/share/${PROJECT_NAME}