View previous topic :: View next topic |
Author |
Message |
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 517
|
Posted: Mon Jun 24, 2024 7:54 am Post subject: [Solved] Populating binhost from multiple Gentoo installs |
|
|
Hi folks
I set up a private binhost, to reduce the amount of compilation needed to set up multiple machines. It works fine, but I only populated the binhost from one place.
My computers are similar, but they different display adapters, for example. So I've had to compile different Xorg drivers on different machines. Now I'm wondering if I can populate the binhost from all machines, and get a complete set of compiled binaries.
My concern is that there is a file 'packages' at the top of the binhost directory tree, that is different on each machine. I presume that this file is necessary for the binhost operation, and I can't just overwrite it?
If that's the case, can package details be merged?
In general, though -- how can I build multiple machines, and ensure that all the compiled binaries from all the machines end up in the binhost?
BR, Lars.
Last edited by lars_the_bear on Wed Jun 26, 2024 8:36 am; edited 1 time in total |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2400
|
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 214
|
Posted: Mon Jun 24, 2024 2:44 pm Post subject: |
|
|
You can sync the binhost across all machines and then building binary packages will update the existing Packages index. You can also use emaint to fix the index if binary packages are manually copied in (for example simultaneous updates on multiple machines , where all files end up in the binhost but only one version of Packages is kept).
The packages will coexist just fine since different USE flags produce different package metadata. As long as you don't use different CFLAGS / CXXFLAGS / LDFLAGS. |
|
Back to top |
|
|
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 517
|
Posted: Mon Jun 24, 2024 6:19 pm Post subject: |
|
|
eschwartz wrote: | You can also use emaint to fix the index if binary packages are manually copied in (for example simultaneous updates on multiple machines , where all files end up in the binhost but only one version of Packages is kept).
|
Aha! That seems to be exactly what I need.
Except...
The binhost isn't a Gentoo machine. It's just a webserver. I'm not sure where I'd run emaint in this case.
I could consolidate all the binary packages on one Gentoo machine, I guess, and run emaint there. Does that sound plausible?
BR, Lars. |
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 214
|
Posted: Mon Jun 24, 2024 6:36 pm Post subject: |
|
|
That is what I would do in that situation, yes. |
|
Back to top |
|
|
|