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 " cd /root/${PROJECT_NAME}" >> $rootdir/root/.bashrc
|
||||||
echo " git stash" >> $rootdir/root/.bashrc
|
echo " git stash" >> $rootdir/root/.bashrc
|
||||||
echo " git pull" >> $rootdir/root/.bashrc
|
echo " git pull" >> $rootdir/root/.bashrc
|
||||||
|
echo " git checkout bashrc/stretch" >> $rootdir/root/.bashrc
|
||||||
echo " make install" >> $rootdir/root/.bashrc
|
echo " make install" >> $rootdir/root/.bashrc
|
||||||
|
|
||||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
|
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
|
||||||
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
|
chroot "$rootdir" /bin/bash -x <<EOF
|
||||||
git clone $PROJECT_REPO /root/$PROJECT_NAME
|
git clone $PROJECT_REPO /root/$PROJECT_NAME
|
||||||
cd /root/$PROJECT_NAME
|
cd /root/$PROJECT_NAME
|
||||||
|
git checkout bashrc/stretch
|
||||||
make install
|
make install
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,8 @@ if [ -d $PROJECT_DIR ]; then
|
||||||
else
|
else
|
||||||
git_pull $PROJECT_REPO origin/$DEVELOPMENT_BRANCH
|
git_pull $PROJECT_REPO origin/$DEVELOPMENT_BRANCH
|
||||||
fi
|
fi
|
||||||
|
# TODO temporary for stretch
|
||||||
|
git checkout bashrc/stretch
|
||||||
make install
|
make install
|
||||||
if [ -d /usr/share/${PROJECT_NAME} ]; then
|
if [ -d /usr/share/${PROJECT_NAME} ]; then
|
||||||
chown -R root:root /usr/share/${PROJECT_NAME}
|
chown -R root:root /usr/share/${PROJECT_NAME}
|
||||||
|
|
Loading…
Reference in New Issue