Skip to content

How To Use This Overlay

hongqn edited this page Jun 26, 2012 · 2 revisions

How To Use This Overlay

  1. Install layman
$ echo "app-portage/layman git" >> $EPREFIX/etc/portage/package.use
$ emerge layman
  1. Edit $EPREFIX/etc/layman/layman.cfg. Add a line after
overlays   : http://www.gentoo.org/proj/en/overlays/repositories.xml
so that it becomes
overlays   : http://www.gentoo.org/proj/en/overlays/repositories.xml
             file://$EPREFIX/var/lib/layman/my-list.xml
Replace `$EPREFIX` with your prefix installation path.
  1. Edit $EPREFIX/var/lib/layman/my-list.xml. The content of this file should be:
<?xml version="1.0" ?>
<layman>
        <overlay type="git" name="hongqn"
            src="git://github.com/hongqn/hongqn-gentoo-overlay.git"
            contact="hongqn@gmail.com">
            <link>https://github.com/hongqn/hongqn-gentoo-overlay</link>
            <description>
                hongqn's gentoo overlay
            </description>
        </overlay>
</layman>
  1. Add this overlay
$ layman -a hongqn
Clone this wiki locally