How to create overlay on Gentoo?

Hi,

Gentoo enables “to merge” third-parties portage trees onto official tree by creating a local overlay. You can create a local overlay as described in the steps bellow. The tutorial is originally described here.

Creating local overlay:

# mkdir -p /usr/local/portage/{metadata,profiles} 
# echo 'NameOfYourOverlay' > /usr/local/portage/profiles/repo_name
# echo 'masters = gentoo' > /usr/local/portage/metadata/layout.conf
# chown -R portage:portage /usr/local/portage

Next, tell portage about the overlay:

# echo 'PORTDIR_OVERLAY="/usr/local/portage ${PORTDIR_OVERLAY}"' >> /etc/portage/make.conf

That’s all,

Advertisements

One thought on “How to create overlay on Gentoo?

  1. Pingback: entreprise portage

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s