Changes

Jump to: navigation, search

Creating Your Own Meta-Repo and Kits

1,322 bytes added, 2 months ago
Using New Kits
# ##i##mv meta-repo meta-repo.official
# ##i##ego sync
Syncing xorg-kit branch 1.20-release
Cloning into '/var/git/meta-repo/kits/xorg-kit'...
Initialized empty Git repository in /home/repos/repositories/wildrepo/staging/xorg-kit.git/
fatal: Remote branch 1.20-release not found in upstream origin
##r##ERROR: Could not clone kit 'xorg-kit' into '/var/git/meta-repo/kits/xorg-kit'.
fatal: the remote end hung up unexpectedly
}}
Ego will now sync your custom repository, ''but it will fail. ''. This is OK -- it is failing because gitolite does not have local copies of independently-maintained (ie. not auto-generated) kits. To fix this, you can either create mirrors of the independent kits on your gitolite, or alternatively perform this simple work-around. Go to https://code.funtoo.org/bitbucket/projects/INDY and for each kit listed there, clone to {{f|/var/git/meta-repo/kits}} as root, as follows: {{console|body=# ##i##cd /var/git/meta-repo/kits# ##i## git clone https://code.funtoo.org/bitbucket/scm/indy/gnome-kit.git# ##i## git clone https://code.funtoo.org/bitbucket/scm/indy/python-kit.git... etc ...}} Once this is complete, try an {{c|ego sync}} again, and with local copies of the independent kits it should all work: {{console|body=# ##i##ego sync...##g##Sync successful and kits in alignment! :)Updating /etc/portage/repos.conf...Updating profiles at /etc/portage/make.profile/parent...}}  If you type {{c|emerge -auDN @world}}, ego will now be using your custom kits, rather than the official Funtoo ones. This means that you can perform a variety of things you couldn't before. You can now add your own custom ebuilds to your fork of {{c|kit-fixups}}, and {{c|merge-all-kits.py}} will automatically incorporate these changes into your own custom kits. This will allow you to locally test any changes before submitting them as pull requests to Funtoo. You will also be able to maintain your own meta-repo and kits with your own local modifications, and have your systems use these meta-repo/kits instead of the official Funtoo ones.
== Using New Kits with Metro ==
Bureaucrats, Administrators, wiki-admins, wiki-staff
5,806
edits

Navigation menu