Update before continuing install
This commit is contained in:
parent
3f1c8b4263
commit
51b01f6fce
|
@ -258,11 +258,17 @@ EOF
|
|||
echo -n " echo \"${MY_USERNAME}:" >> $rootdir/root/.bashrc
|
||||
echo '$(printf `cat ~/login.txt`)"|chpasswd' >> $rootdir/root/.bashrc
|
||||
|
||||
if [[ $MINIMAL_INSTALL == "no" ]]; then
|
||||
echo " ${PROJECT_NAME} menuconfigfull" >> $rootdir/root/.bashrc
|
||||
else
|
||||
echo " ${PROJECT_NAME} menuconfig" >> $rootdir/root/.bashrc
|
||||
fi
|
||||
# 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
|
||||
echo " ${PROJECT_NAME} menuconfig" >> $rootdir/root/.bashrc
|
||||
fi
|
||||
echo ' if [ "$?" = "0" ]; then' >> $rootdir/root/.bashrc
|
||||
echo " if [ -f ~/${PROJECT_NAME}-completed.txt ]; then" >> $rootdir/root/.bashrc
|
||||
# Remove the initial setup files
|
||||
|
|
Loading…
Reference in New Issue