Skip to content

Converting Gentoo

Elizabeth Myers edited this page Dec 13, 2016 · 14 revisions

This document describes how to convert your existing Gentoo install to a Galapagos Linux installation. The process is designed to be fairly straightforward.

NOTE: a basic knowledge of git is mandatory, and you must have a copy of git installed.

Convert your /usr/portage to Galapagos

  1. Remove/usr/portage
  2. git clone [email protected]:Galapagos-Linux/main /usr/portage

If you are a more advanced user, you could change your origin to Galapagos and do a simple git pull.

Convert your repos.conf file

  1. Go to your /etc/portage/repos.conf directory (or open the file)
  2. Remove the gentoo.conf file, or remove the [gentoo] configuration block
  3. Insert the following into galapagos.conf (or repos.conf if it is not a directory):
[galapagos]
priority = 0
location = /usr/portage
sync-type = git
sync-uri = git://github.com/Galapagos-Linux/main.git
auto-sync = Yes
  1. Open your /usr/share/portage/config/repos.conf file
  2. Remove the contents and add the following:
[DEFAULT]
main-repo = galapagos

[galapagos]
location = /usr/portage
sync-type = git
sync-uri = git://github.com/Galapagos-Linux/main.git
auto-sync = yes

Final touches

  • You will need to update all your overlays to have galapagos as their master.
  • Layman is not yet fully integrated with galapagos and thus you may have to change various files (hopefully only once) to change the masters from gentoo to galapagos to silence emerge --sync. Otherwise it works fine.
  • You may want the extras overlay for stuff that isn't in the main repo.
  • Remember to use emerge --sync after you're done!
Clone this wiki locally