On Wed, 13 Sep 2023, Matthias Apitz wrote:

El día miércoles, septiembre 13, 2023 a las 12:55:20 +0200, Kurt Jaeger 
escribió:

Hi!

In short: Is there no way with git to pull only one special port
for a recompilation?

For things like that I always have a git ports tree besides the
poudriere ports tree. If I need one little recompile, I
update the non-poudriere tree, take the one change from that tree
that I need, put it into the poudriere and re-run poudriere...

There might be easier ways to achieve the same, but this works.

I updated, first, the ports tree below /usr/ports while poudriere
was using /usr/local/poudriere/ports/ports20230806 (as defined when
creating the port within poudriere). I was faulty thinking that both
are physically the same place and /usr/local/poudriere/ports/ports20230806
only a mount point of /usr/ports.

The fist 'git pull' did nothimng within poudriere, the other recompiled
some ports which I did not wanted. I should have done a temp.
copy of /usr/ports/security/wpa_supplicant to
/usr/local/poudriere/ports/ports20230806/security/wpa_supplicant
You might want to have a look at the -C switch (and maybe -S) to poudriere as well. It's not without pitfalls, but might be a viable option for the particular situation you described.

All the best,
Martin

--
Ich glaube, es sind jetzt ungefähr noch vier oder maximal sechs Tage, an denen 
man völlig entspannt nicht daran denken kann, daß irgendwann Weihnachtseinkäufe 
zu erledigen sein werden. Danach kann man mit Aufwärmübungen beginnen, die 
Nerven punktgenau wegzuschmeißen, weil man es wieder einmal auf den letzten 
Zeitpunkt hin verschlampt hat.

Reply via email to