Difference between revisions of "stoney cloud: Switch to testing branch"
From stoney cloud
[unchecked revision] | [unchecked revision] |
m (Michael moved page stoney cloud:Switch to testing branch to stoney cloud: Switch to testing branch) |
|||
Line 1: | Line 1: | ||
− | Login as root and execute the following to switch a stoney cloud installation from stable (''releases'') to testing (''pre-releases'') | + | 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 below. |
<source lang='bash'> | <source lang='bash'> | ||
Line 16: | Line 16: | ||
chown -R portage\: . | chown -R portage\: . | ||
</source> | </source> | ||
+ | |||
+ | == Migrating from FOSS-Cloud == | ||
+ | |||
+ | When coming from FOSS-Cloud or an early stoney cloud, it is necessary to switch the portage and portage-overlay to point to stoney cloud. To figure out, whether this is your case execute the following: | ||
+ | |||
+ | <source lang='bash'> | ||
+ | cd /usr/portage | ||
+ | git remote -v | ||
+ | |||
+ | 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 following: | ||
+ | <source lang='bash'> | ||
+ | rm -rf /usr/portage /var/lib/layman/foss-cloud | ||
+ | |||
+ | git clone https://github.com/FOSS-Cloud/portage.git /usr/portage | ||
+ | git clone https://github.com/FOSS-Cloud/portage-overlay.git /var/lib/layman/foss-cloud | ||
+ | |||
+ | cd /usr/portage | ||
+ | git checkout 1.2-pre | ||
+ | cd /var/lib/layman/foss-cloud | ||
+ | git checkout 1.2-pre | ||
+ | |||
+ | chown -R portage\: /usr/portage /var/lib/layman/foss-cloud | ||
+ | </source> | ||
+ | |||
[[Category:Installation]] | [[Category:Installation]] | ||
[[Category:stoney cloud]] | [[Category:stoney cloud]] |
Revision as of 15:26, 19 December 2013
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 below.
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\: .
Migrating from FOSS-Cloud
When coming from FOSS-Cloud or an early stoney cloud, it is necessary to switch the portage and portage-overlay to point to stoney cloud. To figure out, whether this is your case execute the following:
cd /usr/portage git remote -v cd /var/lib/layman/foss-cloud git remote -v
which should give the following if you are on FOSS-Cloud (or have an early stone cloud)
~ # 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) ~ #
If the output matches, run the following:
rm -rf /usr/portage /var/lib/layman/foss-cloud git clone https://github.com/FOSS-Cloud/portage.git /usr/portage git clone https://github.com/FOSS-Cloud/portage-overlay.git /var/lib/layman/foss-cloud cd /usr/portage git checkout 1.2-pre cd /var/lib/layman/foss-cloud git checkout 1.2-pre chown -R portage\: /usr/portage /var/lib/layman/foss-cloud