Local Gentoo Overlay

Published 01-01-0001 00:00:00

Setting up a local overlay on Gentoo or Calculate

Creating folder

mkdir -p /usr/local/portage/

Editing the configuration file, add the lines: /etc/portage/repos.conf/local.conf

location = /usr/local/portage
masters = calculate gentoo
auto-sync = no

Changing rights

chown -R portage:portage /usr/local/portage/

Run a synchronization

  • Variant for Gentoo
  • Variant for Calculate
cl-update --sync-only

Or run a script for Gentoo

  • Variant wih wget for Gentoo:
wget -qO- https https://wiki.kronoz.guru/howto/local-gentoo-overlay/script-for-gentoo.sh | bash
  • Variant with curl for Gentoo:
curl -sL https https://wiki.kronoz.guru/howto/local-gentoo-overlay/script-for-gentoo.sh | bash
  • Illustration of this script for Gentoo:

mkdir -p /usr/local/portage/
echo -e "[localhost]\nlocation = /usr/local/portage\nmasters = gentoo\nauto-sync = no" > /etc/portage/repos.conf/local.conf
chown -R portage:portage /usr/local/portage/

Or run a script for Calculate

  • Variant wih wget for Calculate:
wget -qO- https https://wiki.kronoz.guru/howto/local-gentoo-overlay/script-for-calculate.sh | bash
  • Variant with curl for Calculate:
curl -sL https https://wiki.kronoz.guru/howto/local-gentoo-overlay/script-for-calculate.sh | bash
  • Illustration of this script for Calculate:

mkdir -p /usr/local/portage/
echo -e "[localhost]\nlocation = /usr/local/portage\nmasters = calculate gentoo\nauto-sync = no" > /etc/portage/repos.conf/local.conf
chown -R portage:portage /usr/local/portage/
cl-update --sync-only