Created
February 19, 2013 07:26
-
-
Save ifnull/4983774 to your computer and use it in GitHub Desktop.
Xbian Upgrade notes. Untested.
This file contains hidden or 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
echo raspberry | sudo -S chmod +s /bin/su | |
sudo su | |
cd /home/xbian/ | |
git clone git://github.com/xbianonpi/xbian.git source | |
for i in $(pgrep -u xbian); do kill -9 $i; done; | |
cd /home/xbian/source | |
git pull | |
cp -R etc/* /etc/ | |
cp -R usr/* /usr/ | |
rm -rf /lib/modules/* | |
cp -R lib/* /lib/ | |
rm -rf /boot/* | |
cp -R boot/* /boot/ | |
cp -R home/* /home/ | |
rm -rf /opt/vc | |
cp -r opt/vc /opt | |
cp -R var/* /var/ | |
echo "PiBox" > /etc/hostname | |
hostname PiBox | |
sed -i 's/raspberrypi/PiBox/g' /etc/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment