Difference between revisions of "stoney cloud: Switch to testing branch"

From stoney cloud
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Created page with "Login as root and execute the following to switch a stoney cloud installation from stable (''releases'') to testing (''pre-releases''): <source lang='bash'> branch="1.2-pre" ...")
 
Line 15: Line 15:
 
git checkout "${branch}"
 
git checkout "${branch}"
 
chown -R portage\: .
 
chown -R portage\: .
 
emerge --sync
 
 
</source>
 
</source>
  

Revision as of 15:11, 19 December 2013

Login as root and execute the following to switch a stoney cloud installation from stable (releases) to testing (pre-releases):

branch="1.2-pre"
 
cd /usr/portage
git remote set-branches --add origin "${branch}"
git pull --rebase
git checkout "${branch}"
chown -R portage\: .
 
cd /var/lib/layman/foss-cloud
git remote set-branches --add origin "${branch}"
git pull --rebase
git checkout "${branch}"
chown -R portage\: .