Updating current SD Card img through SSH?
#1
Just wanted to know how to update to current image through SSH instead of redoing setup again through new image file. 

I want to use the current Freeplaytech image but also would like to know if there's any benefit (other than having the newest img) to updating to newest retropie img or if im better off waiting on Freeplaytech version. 

Thanks,
Vlad
Reply
#2
We currently do not have an update script for the extra packages we include, but we do recommend running the updater through RetroPie Setup. It should (theoretically) not cause any issues. If you do decide to try to update modules (I think the ones in the current image are up to date), you can ssh in and just run git pull and ./install.sh in each folder in ~/Freeplay/

You may need to do some stuff after that, depending on your setup (analog sticks, custom controls, etc), but this will ensure you're getting the most recent versions.
Reply
#3
I'll kind of quickly run through what Mootikins laid out.  BUT FIRST, MAKE A BACKUP IMAGE OF YOUR SD CARD!

If you SSH in (and the machine is on the internet), you can 

cd /home/pi/Freeplay/

Then do an 'ls' there to see what subdirectories are in that directory.  For each of them, you should be able to enter the directory, pull the latest from git, and re-run the install.  Here's a full example of one of them.


Code:
cd /home/pi/Freeplay/
ls
cd mk_arcade_joystick_rpi
git pull
./install.sh


To update the rest of the system, you can

Code:
cd /home/pi/RetroPie-Setup/
sudo ./retropie_setup.sh
<Update>
<Yes>
<Ok>
<Ok>
<Yes>    (Update underlying OS packages)
<OK>
<Perform reboot>
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)