I'd like to ask for some help in getting a handle on Poudriere jail management. After a LOT of reading (mostly off https://github.com/freebsd/poudriere/wiki/), but also the Handbook's sections on "Building Ports with Poudriere" and the chapter on jails, I was able to distill 3 commands that I'd need to use to compile KDE packages:
--
Should command #2 be run inside the jail named kde? The reason I'm asking - I tried to figure out if that's even important. The Handbook's chapter on jails suggests that I need to have a running jail, and to connect to it, before running stuff inside a jail (similar to a VM). However, Handbook's section on "Building Ports with Poudriere" doesn't say anything about that. Neither does poudriere(8). This leads me to conclude that command #2 is basically like setting an environment variable (the null-mounted directory), because the jail name is not even mentioned (Shouldn't there be an option to set it in poudriere.conf, then?)
--
Just trying to connect the dots here... am I missing something jail-related between commands #1 and #2? Or is that something that Poudriere will take care of for me, and all I need to do is run those commands consecutively? Am I on the right track?
--
# poudriere jail -c kde
. This should create my build jail. I don't need arch or other options, the compiled output should match the host anyway.# poudriere ports -c -m null /usr/ports/poudriere_tree
. This should set up the ports tree that I created at /usr/ports/poudriere_tree/, with distfiles still in original /usr/ports/distfiles.# poudriere bulk -f ~/poud_kf5_plasma_sorted.txt -j kde
. This compiles my list of packages that I later find in /usr/local/poudriere/data/packages/kde/ directory on the host.
--
Should command #2 be run inside the jail named kde? The reason I'm asking - I tried to figure out if that's even important. The Handbook's chapter on jails suggests that I need to have a running jail, and to connect to it, before running stuff inside a jail (similar to a VM). However, Handbook's section on "Building Ports with Poudriere" doesn't say anything about that. Neither does poudriere(8). This leads me to conclude that command #2 is basically like setting an environment variable (the null-mounted directory), because the jail name is not even mentioned (Shouldn't there be an option to set it in poudriere.conf, then?)
--
Just trying to connect the dots here... am I missing something jail-related between commands #1 and #2? Or is that something that Poudriere will take care of for me, and all I need to do is run those commands consecutively? Am I on the right track?
--