Update before continuing install

This commit is contained in:
Bob Mottram 2015-12-01 20:52:27 +00:00
parent 3f1c8b4263
commit 51b01f6fce
1 changed files with 11 additions and 5 deletions

View File

@ -258,6 +258,12 @@ EOF
echo -n " echo \"${MY_USERNAME}:" >> $rootdir/root/.bashrc
echo '$(printf `cat ~/login.txt`)"|chpasswd' >> $rootdir/root/.bashrc
# update before continuing
echo " cd /root/${PROJECT_NAME}" >> $rootdir/root/.bashrc
echo " git stash" >> $rootdir/root/.bashrc
echo " git pull" >> $rootdir/root/.bashrc
echo " make install" >> $rootdir/root/.bashrc
if [[ $MINIMAL_INSTALL == "no" ]]; then
echo " ${PROJECT_NAME} menuconfigfull" >> $rootdir/root/.bashrc
else