Hi,
this is my first post so I hope my thread is in the correct forum.
I'am currently experimenting with poudriere() since I want to serve custom build ports to multiple freebsd machines on our network.
I want to use a "global" options-directory for all of my jails. When reading the main man page of poudriere I figured out I can use the
I already copied configured options from my other machines from
Now I want to update my options with the following command:
When reading poudriere-options() and poudriere() I saw that if I would answer "yes" in the above output, a new directory called
But that's not what I want so I figured by reading the poudriere-options man page that I can use the
But when I try using
Looking on my installed man page for poudriere-options I don't see any argument with
Is there a better way to accomplish what I want to do?
Kind Regards
this is my first post so I hope my thread is in the correct forum.
I'am currently experimenting with poudriere() since I want to serve custom build ports to multiple freebsd machines on our network.
I want to use a "global" options-directory for all of my jails. When reading the main man page of poudriere I figured out I can use the
poudriere.d/options
directory for all options of my ports I want to build.I already copied configured options from my other machines from
/var/db/ports
to poudriere.d/options
. I set up a portsnapshot named "MAIN_HEAD".Now I want to update my options with the following command:
sudo poudriere options -c -p MAIN_HEAD -f /usr/local/etc/poudriere.d/core_ports.txt
, but then I get this warning message:
Code:
[00:00:00] Warning: You already have options configured without '-p MAIN_HEAD' that will no longer be used.
[00:00:00] Warning: Drop the '-p MAIN_HEAD' option to avoid this problem.
[00:00:00] Are you sure you want to continue? [y/N]
When reading poudriere-options() and poudriere() I saw that if I would answer "yes" in the above output, a new directory called
poudriere.d/MAIN_HEAD-options
would be created with the updated options.But that's not what I want so I figured by reading the poudriere-options man page that I can use the
-o
argument to store my options in another directory.But when I try using
sudo poudriere options -p MAIN_HEAD -f /usr/local/etc/poudriere.d/core_ports.txt -o /usr/local/etc/poudriere.d/options/
I get the following error:
Code:
Illegal option -o
poudriere options [options] [-f file|cat/port ...]
Parameters:
-f file -- Give the list of ports to set options
[ports...] -- List of ports to set options on
Options:
-a arch -- Indicates the TARGET_ARCH if no jail is specified. Such as i386
or amd64. Format of TARGET.TARGET_ARCH is also supported.
-c -- Use 'make config' target
-C -- Use 'make config-conditional' target (default)
-j name -- Run on the given jail
-p tree -- Specify on which ports tree the configuration will be done
-n -- Do not configure/show/remove options of dependencies
-r -- Remove port options instead of configuring them
-s -- Show port options instead of configuring them
-z set -- Specify which SET to use
Looking on my installed man page for poudriere-options I don't see any argument with
-o
, but when looking at poudriere-options() I see the argument -o
. So what's the deal? Why can't I use the -o
argument on a fresh installed FreeBSD 13.2?Is there a better way to accomplish what I want to do?
Kind Regards