Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] binrepos.conf overrides PKGDIR value in make.conf

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

[SOLVED] binrepos.conf overrides PKGDIR value in make.conf

  • Quote

Post by sdauth » Thu Feb 19, 2026 7:18 pm

Hello,
Maybe it has been this way for some time now but I only noticed it today.

I have several laptop pulling binaries from my main desktop.
So I noticed those binaries are now saved in /var/cache/binhost/main-binhost/ instead of /var/cache/binpkgs

On each laptop I have the following In /etc/portage/binrepos.conf

Code: Select all

[main-binhost]
priority = 100
sync-uri = https://home.lan/gentoo/main-binhost/binpkgs
and in make.conf

Code: Select all

PKGDIR="/var/cache/binpkgs"
and also:

Code: Select all

EMERGE_DEFAULT_OPTS="--jobs 2 --getbinpkgonly --binpkg-respect-use=n"
In order to never build anything but only pull binaries from my main desktop.

Is it possible to save them to the PKGDIR location, like before ?

Thanks.
Last edited by sdauth on Thu Feb 19, 2026 7:48 pm, edited 2 times in total.
Top
sam_
Developer
Developer
User avatar
Posts: 2817
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Thu Feb 19, 2026 7:24 pm

See Portage NEWS in /usr/share/doc. The intention is to have separation between downloaded binpkgs and locally built ones (for a few reasons: it allows signature verification to be enabled just for remote binpkgs (even per-repo), it allows you to re-serve your own binpkgs without doubling up on copies of ones from another binhost, etc).

You may be able to set location = /var/cache/binpkgs in binrepos.conf but then you won't be able to safely do signature verification. Is there a reason you really want those in the same place? That will affect how much we want to support it and in what way.
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

  • Quote

Post by sdauth » Thu Feb 19, 2026 7:30 pm

Thanks, it makes sense.
It is only because I have a couple of exclude for my backup app (btrbk) and I noticed it took a bit longer today. After reviewing the log, I found out it backed up this (not excluded) location. :wink:
Otherwise I don't have particular other reason, so I will adjust my btrbk config to exclude this new location.
Top
sam_
Developer
Developer
User avatar
Posts: 2817
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Thu Feb 19, 2026 7:41 pm

Thanks for explaining. I plan on having a news item for default-enabled verification in Portage and then will mention this change in there.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic