How to create binary packages for (gentoo) overlay?

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

How to create binary packages for (gentoo) overlay?

Postby Einstok Fair » Sun Jun 11, 2017 11:26

I have several ebuild files in my private overlay. I want to make them available through equo. What I need to read and to do?

I started reading page
https://sabayon.github.io/community-website/
but didn't gather all the details yet

As I understood there is only one additional repository for all community ebuilds. What if I want to create my own binary repository?

Found such term as "separate SCR repo"
https://github.com/Sabayon/enman
now I'm reading docs for it

How to view list of available binary packages?
https://packages.sabayon.org/quicksearch?q=mono
these are packages only from main tree? or from cain tree and community repository? gpo.zugaina.org is more clear on this.
Last edited by Einstok Fair on Sun Jun 11, 2017 11:58, edited 1 time in total.
Einstok Fair
Baby Hen
 
Posts: 3
Joined: Sun Jun 11, 2017 11:21

Re: How to create binary packages for (gentoo) overlay?

Postby sabayonino » Sun Jun 11, 2017 11:58

Hi . there are few ways to do this.

you can build an gentoo-binary package

e.g:
Code: Select all
# quickpkg eix
Password:
 * Building package for app-portage/eix-0.32.5-r1 ...                                                                                          [ ok ]
 * Excluded config: '/etc/eixrc/00-eixrc'

 * Packages now in '/usr/portage/packages':
 * app-portage/eix-0.32.5-r1: 817K

 * Excluded config files: 1
 * See --help if you would like to include config files.


and then convert package(s) for entropy
Code: Select all
# equo pkg inflate /usr/portage/packages/app-portage/eix-0.32.5-r1.tbz2
╠  @@ generazione del pacchetto di metadati completata: /var/tmp/entropy/app-portage/app-portage:eix-0.32.5-r1.44efbbca1f93836bf1ae733d2865d4433be2621╠  @@ File del pacchetto generato in: /var/tmp/entropy/app-portage/app-portage:eix-0.32.5-r1.44efbbca1f93836bf1ae733d2865d4433be2621b~9999.tbz2


see
Code: Select all
# equo pkg --help


and install entropy package
Code: Select all
# equo i /var/tmp/entropy/app-portage/app-portage:eix-0.32.5-r1.44efbbca1f93836bf1ae733d2865d4433be2621b~9999.tbz2


but better way is to build your own entropy repository .You can track your packages and its dependencies easily
see my Italian-Howto
It should be fairly clear :mrgreen:

or https://wiki.sabayon.org/index.php?titl ... Repository

I suggest to build your packages on an chroot environment (see sabayon.tar.gz tarball)
User avatar
sabayonino
Sagely Hen
 
Posts: 2883
Joined: Sun Sep 21, 2008 1:12
Location: Italy


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest

cron