On 22/09/2021 09:58, Torokhov Sergey wrote:
I have repos configs placed into /etc/portage/repos.conf with
"rsync-type = git" fo all repos
so I created binhost.cond file here instead of /etc/portage/ as
mentioned in blog post.
binhost.conf should be in binrepos.conf instead of repos.conf. See also:
https://wiki.gentoo.org/wiki/Binary_package_guide#Pulling_packages_from_a_binary_package_host
Then I tried to sync and got warnings:
...
!!! Section 'binhost' in repos.conf is missing location attribute
!!! Repository 'binhost' has sync-uri attribute, but is missing
sync-type attribute
...
So it seems it's dosn't sync with binhost index without location attribute.
After setup location attribute to specific directory I got warning on
sync trying:
!!! Repository 'binhost' has sync-uri attribute, but is missing
sync-type attribute
!!! Repository 'binhost' is missing masters attribute in
'/usr/local/portage/binhost/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
I tried to set up "rsync-type = rsync" or "webrsync" with "amsters =
gentoo" but then I got error:
!!! Repository 'binhost' is missing masters attribute in
'/usr/local/portage/binhost/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
So I created /usr/local/portage/binhost/metadata/layout.conf :
masters = gentoo
auto-sync = false
thin-manifests = true
So then on sync I got:
The current sync-type attribute of repository 'gentoo' is not set to
'rsync' or 'webrsync':
sync-type=git
----
Is it currently git sync available for binhost?
A binhost is different from an ebuild repository, it is just a
collection of .xpak files so there is no git sync involved.