Created
February 14, 2013 20:45
-
-
Save hetsch/4956254 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://forum.xbian.org/thread-370.html | |
sudo su #default password = 'raspberry' | |
service xbmc stop | |
apt-get update | |
apt-get install libcurl3 libva1 | |
cd /opt | |
rm -rf xbian | |
git clone -b xbian-alpha5 git://github.com/xbianonpi/xbian.git | |
cd xbian | |
git reset --hard 4d99fd2b51a84083bb6a40453fd4d0ae074c0698 | |
rm boot/config.txt boot/cmdline.txt | |
rm -rf /boot.OLD | |
mkdir /boot.OLD | |
cp -R /boot/* /boot.OLD | |
rm -rf /opt/vc.OLD | |
mv /opt/vc /opt/vc.OLD | |
rm -rf /usr/local/share/xbmc.OLD | |
mv /usr/local/share/xbmc /usr/local/share/xbmc.OLD | |
rm -rf /usr/local/lib/xbmc.OLD | |
mv /usr/local/lib/xbmc /usr/local/lib/xbmc.OLD | |
cp -R boot/* /boot | |
cp -R opt/vc /opt | |
cp -R usr/local/lib/xbmc /usr/local/lib/xbmc | |
cp -R usr/local/share/xbmc /usr/local/share/xbmc | |
chmod +x /usr/local/lib/xbmc/xbmc.bin | |
rm -rf /lib/modules/3.6.11+.OLD | |
mv /lib/modules/3.6.11+ /lib/modules/3.6.11+.OLD | |
cp -R lib/modules/3.6.11+ /lib/modules/ | |
reboot | |
# restore | |
#sudo su #default password = 'raspberry' | |
#/etc/init.d/xbmc stop | |
#rm -rf /usr/local/lib/xbmc | |
#rm -rf /usr/local/share/xbmc | |
#mv /usr/local/share/xbmc.OLD /usr/local/share/xbmc | |
#mv /usr/local/lib/xbmc.OLD /usr/local/lib/xbmc | |
#cp -R /boot.OLD/* /boot | |
#rm -rf /opt/vc | |
#mv /opt/vc.OLD /opt/vc | |
#rm -rf /lib/modules/3.6.11+ | |
#mv /lib/modules/3.6.11+.OLD /lib/modules/3.6.11+ | |
#reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment