User Tools

Site Tools


documentation:technical_docs:poudriere

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
documentation:technical_docs:poudriere [2019/03/02 14:33] – external edit 127.0.0.1documentation:technical_docs:poudriere [2022/07/22 19:08] – [The 6 minimum steps to build a poudriere firmware image] olivier
Line 28: Line 28:
 Poudriere can generate multiple "image" types (default is iso+zmfs): Poudriere can generate multiple "image" types (default is iso+zmfs):
   * iso: An ISO 9660 format image   * iso: An ISO 9660 format image
-  * iso+mfs: An ISO 9660 format image where the root filesystem is MFS mounted +    * iso+mfs: An ISO 9660 variant where the root filesystem is MFS mounted 
-  * iso+zmfs (default): An ISO 9660 format image where the root filesystem is LZ77 compressed and is MFS mounted.+    * iso+zmfs (default): An ISO 9660 variant where the root filesystem is LZ77 compressed and is MFS mounted.
   * usb: A GPT-layout prepared UFS2 image containing a UEFI boot loader.   * usb: A GPT-layout prepared UFS2 image containing a UEFI boot loader.
-  * usb+mfs : A GPT-layout prepared UFS2 image containing a UEFI boot loader where the root filesystem is MFS mounted +    * usb+mfs : A variant  where the root filesystem is MFS mounted 
-  * usb+zmfs: A GPT-layout prepared UFS2 image containing a UEFI boot loader where the root filesystem is LZ77 compressed and is MFS mounted.+    * usb+zmfs: A variant  where the root filesystem is LZ77 compressed and is MFS mounted.
   * firmware: A NanoBSD style image with a GPT partitions and a UEFI boot loader   * firmware: A NanoBSD style image with a GPT partitions and a UEFI boot loader
-  * rawfirmware: A raw disk image (Update image that includes only one system partition of the firmware?)+    * rawfirmware: A raw disk image (Update image that includes only one system partition of the firmware?)
   * rawdisk: A raw UFS2, softupdates-enabled, disk image   * rawdisk: A raw UFS2, softupdates-enabled, disk image
   * zrawdisk: A raw ZFS disk image   * zrawdisk: A raw ZFS disk image
   * tar: An XZ-compressed tarball   * tar: An XZ-compressed tarball
-  * embedded: Create a u-boot ready embedded image+  * zsnapshot: Create a zfs snapshot full and incremental to be used in a jail
  
 ===== The 6 minimum steps to build a poudriere firmware image ===== ===== The 6 minimum steps to build a poudriere firmware image =====
Line 45: Line 45:
   - Install poudriere and configure it: <code>pkg install poudriere-devel   - Install poudriere and configure it: <code>pkg install poudriere-devel
 echo "ZPOOL="`zpool list -H | cut -f1` >> /usr/local/etc/poudriere.conf</code> echo "ZPOOL="`zpool list -H | cut -f1` >> /usr/local/etc/poudriere.conf</code>
-  - Create a poudriere jail WITH a GENERIC kernel (by default kernel is not build & installed):  <code>poudriere jail -c -j router -v 12.0-RELEASE -K GENERIC</code>+  - Create a poudriere jail WITH a GENERIC kernel (by default kernel is not build & installed):  <code>poudriere jail -c -j router -v 13.1-RELEASE -K GENERIC</code>
   - Create a port-tree using "poudriere ports":<code>poudriere ports -c -p router-ports</code>   - Create a port-tree using "poudriere ports":<code>poudriere ports -c -p router-ports</code>
   - Generate list of ports to be build & added into the firmware image:<code>   - Generate list of ports to be build & added into the firmware image:<code>
documentation/technical_docs/poudriere.txt · Last modified: 2024/04/04 12:19 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki