Changes

stoney cloud: Switch to testing branch

651 bytes added, 15:11, 19 December 2013
/* Migrating from FOSS-Cloud */
Login as root and execute the following to switch a stoney cloud installation from stable (''releases'') to testing (''pre-releases''). If you are migrating from a FOSS-Cloud (or have an early stoney cloud), please read belowand skip this step here.
<source lang='bash'>
cd /usr/portage
git remote -v
</source>
which should give the following if you are on FOSS-Cloud (or have an early stone cloud)
<pre>
origin https://github.com/FOSS-Cloud/portage.git (fetch)
origin https://github.com/FOSS-Cloud/portage.git (push)
</pre>
<source lang='bash'>
cd /var/lib/layman/foss-cloud
git remote -v
</source>
 
which should give the following if you are on FOSS-Cloud (or have an early stone cloud)
<pre>
~ # cd /usr/portage
~ # git remote -v
origin https://github.com/FOSS-Cloud/portage.git (fetch)
origin https://github.com/FOSS-Cloud/portage.git (push)
~ # cd /var/lib/layman/foss-cloud
~ # git remote -v
origin https://github.com/FOSS-Cloud/portage-overlay.git (fetch)
origin https://github.com/FOSS-Cloud/portage-overlay.git (push)
~ #
</pre>
If the output matches, run the followinginstead of the commands above to directly switch from whatever FOSS-Cloud/stoney cloud you have to a testing (''pre-releases'') stoney cloud:
<source lang='bash'>
rm -rf /usr/portage /var* /libusr/laymanportage/foss-cloud git clone https://github.com/FOSS-Cloud/portage.git /usrvar/portagegit clone https:lib/layman/github.com/FOSSfoss-Cloudcloud/portage-overlay.git * /var/lib/layman/foss-cloud/.git
cd /usr/portage
git checkout initgit remote add -t "1.2-precd " origin "https:/var/libgithub.com/layman/fossstepping-cloudstone/portage.git"git checkout --orphan "1.2-pre"cat >> .git/config << EOF[branch "1.2-pre"] remote = origin merge = refs/heads/1.2-preEOFchown -R portage\: .
chown -R portage\: /usr/portage cd /var/lib/layman/foss-cloudgit initgit remote add -t "1.2-pre" origin "https://github.com/stepping-stone/portage-overlay.git"git checkout --orphan "1.2-pre"cat >> .git/config << EOF[branch "1.2-pre"] remote = origin merge = refs/heads/1.2-preEOFchown -R portage\: .
</source>
If using binary packages, you have to update the mirror configuration in <code>/etc/portage/make.conf</code> as well, as described in [[stoney cloud: Upgrade]]
[[Category:Installation]]
[[Category:stoney cloud]]
486
edits