stoney cloud: Switch to testing branch: Difference between revisions

From stoney-cloud.org
Jump to navigation Jump to search
(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" ...")
 
No edit summary
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\: .