Configure poudriere: Difference between revisions

From wiki
Jump to navigation Jump to search
imported>Jacob
No edit summary
imported>Jacob
No edit summary
 
(One intermediate revision 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
Line 18: Line 18:
  ># mkdir /usr/ports/distfiles
  ># mkdir /usr/ports/distfiles
Create a zfs pool if needed.<br>
Create a zfs pool if needed.<br>
  ># zpool create zpoud /dev/ada1
  ># zpool create zpoudriere /dev/ada1
Create dataset<br>
Create dataset<br>
  ># zfs create -o mountpoint=/usr/local/poudriere zpoud/poudriere
  ># zfs create -o mountpoint=/usr/local/poudriere zpoudriere/poudriere
Create the poudriere jail
Create the poudriere jail
  ># poudriere jail -c -j 121amd64 -v 12.1-RELEASE
  ># poudriere jail -c -j 121amd64 -v 12.1-RELEASE
Create the ports tree  
Create the ports tree  
  ># poudriere ports -c -p {YOURPKGNAME}
  ># poudriere ports -c -p mypkg





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