Set local repo clone to stretch
This should be removed after the upgrade
This commit is contained in:
parent
c961fb02f2
commit
4c220de1fe
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue