User Tools

This is an old revision of the document!


Reference https://wiki.gentoo.org/wiki/Creating_an_ebuild_repository and https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/CustomTree#Defining_a_custom_ebuild_repository

 emerge app-eselect/eselect-repository pkgdev
 > eselect repository create myrepo
 > cd /var/db/repos/local/
 > git init
 > git add .
 > git commit -m "Initial commit" -a

Add a new eubild (es: app-containers/podman-compose)

 > mkdir -p /var/db/repos/myrepo/app-containers/podman-compose
 > vi /var/db/repos/myrepo/app-containers/podman-compose/podman-compose-1.0.6.ebuild
 > cd /var/db/repos/myrepo/app-containers/podman-compose/ 
 > pkgdev manifest
 > chown -R portage:portage /var/db/repos/myrepo

add

/etc/portage/repos.conf/eselect-repo.conf
[gentoo]
location = /var/db/repos/gentoo

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information