Configure poudriere: Difference between revisions

From wiki
Jump to navigation Jump to search
imported>Jacob
mNo edit summary
imported>Jacob
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 10: Line 10:
  ># vim /usr/local/etc/poudriere.conf
  ># vim /usr/local/etc/poudriere.conf
  ...
  ...
  ZPOOL=zpoud
  ZPOOL=zpoudriere
  ...
  ...
  BASEFS=/usr/local/poudriere      <== This is the default
  BASEFS=/usr/local/poudriere      <== This is the default
  ...
  ...
Create dataset and directories.<br>
Create directories.<br>
And create a zfs pool if needed.
># zpool create zpoud /dev/ada1
># zfs create -o mountpoint=/usr/local/poudriere zpoud/usr_local_poudriere
># zfs create -o mountpoint=/usr/local/poudriere zroot/usr_local_poudriere
  ># mkdir /usr/local/poudriere
  ># mkdir /usr/local/poudriere
  ># mkdir /usr/ports/distfiles
  ># mkdir /usr/ports/distfiles
Create a zfs pool if needed.<br>
># zpool create zpoudriere /dev/ada1
Create dataset<br>
># zfs create -o mountpoint=/usr/local/poudriere zpoudriere/poudriere
Create the poudriere jail
Create the poudriere jail
  ># poudriere jail -c -j 12amd64 -v 12.0-RELEASE
  ># poudriere jail -c -j 121amd64 -v 12.1-RELEASE
Create the ports tree  
Create the ports tree  
  ># poudriere ports -c -p sjapkg
  ># poudriere ports -c -p mypkg




<hr><p style="text align:left;">
<hr>
<p style="text align:left;">
Previous [[Install Poudriere]]
Previous [[Install Poudriere]]
<span style="float:right;">
<span style="float:right;">
Next [[Create SSL Certificate and Key]]
Next [[Create SSL Certificate and Key]]
</span></p><hr>
</span></p>
<center> Up [[Poudriere setup]]</center>
<hr>

Latest revision as of 15:16, 6 March 2020


Previous Install Poudriere Next Create SSL Certificate and Key



Edit poudriere.conf

># vim /usr/local/etc/poudriere.conf
...
ZPOOL=zpoudriere
...
BASEFS=/usr/local/poudriere       <== This is the default
...

Create directories.

># mkdir /usr/local/poudriere
># mkdir /usr/ports/distfiles

Create a zfs pool if needed.

># zpool create zpoudriere /dev/ada1

Create dataset

># zfs create -o mountpoint=/usr/local/poudriere zpoudriere/poudriere

Create the poudriere jail

># poudriere jail -c -j 121amd64 -v 12.1-RELEASE

Create the ports tree

># poudriere ports -c -p mypkg



Previous Install Poudriere Next Create SSL Certificate and Key

Up Poudriere setup