Rename branch
This commit is contained in:
parent
16350b4c36
commit
6bb05c99c7
|
@ -389,7 +389,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 " git checkout stretch" >> $rootdir/root/.bashrc
|
||||
echo " make install" >> $rootdir/root/.bashrc
|
||||
|
||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
|
||||
|
@ -1342,11 +1342,10 @@ echo "# End of avahi-daemon" >> $rootdir/usr/bin/$WATCHDOG_SCRIPT_NAME
|
|||
chmod +x $rootdir/usr/bin/$WATCHDOG_SCRIPT_NAME
|
||||
echo "*/1 * * * * root /usr/bin/$WATCHDOG_SCRIPT_NAME" >> $rootdir/etc/crontab
|
||||
|
||||
# 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
|
||||
git checkout stretch
|
||||
make install
|
||||
cp image_build/bbb-4.9.0.tar.gz /boot/bbb.tar.gz
|
||||
EOF
|
||||
|
|
|
@ -87,8 +87,7 @@ if [ -d $PROJECT_DIR ]; then
|
|||
else
|
||||
git_pull $PROJECT_REPO origin/$DEVELOPMENT_BRANCH
|
||||
fi
|
||||
# TODO temporary for stretch
|
||||
git checkout bashrc/stretch
|
||||
git checkout stretch
|
||||
make install
|
||||
if [ -d /usr/share/${PROJECT_NAME} ]; then
|
||||
chown -R root:root /usr/share/${PROJECT_NAME}
|
||||
|
|
Loading…
Reference in New Issue