documentation:technical_docs:poudriere
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:technical_docs:poudriere [2024/11/18 19:06] – [Building the jail] olivier | documentation:technical_docs:poudriere [2025/12/19 23:09] (current) – [The 6 minimum steps to build a poudriere firmware image] olivier | ||
|---|---|---|---|
| Line 45: | Line 45: | ||
| - Install poudriere and configure it: < | - Install poudriere and configure it: < | ||
| echo " | echo " | ||
| - | - Create a poudriere jail WITH a GENERIC kernel (by default kernel is not build & installed), here named " | + | - Create a poudriere jail WITH a GENERIC kernel (by default kernel is not build & installed), here named " |
| - Create a port-tree using " | - Create a port-tree using " | ||
| - Generate list of ports to be build & added into the firmware image:< | - Generate list of ports to be build & added into the firmware image:< | ||
| Line 242: | Line 242: | ||
| </ | </ | ||
| - | There is now 2 sources ready patched: | + | There are now 2 sources ready patched: |
| - | * / | + | * obj/FreeBSD (including BSDRP specific kernel configuration file) |
| - | * / | + | * obj/ports |
| < | < | ||
| - | poudriere jail -c -j BSDRPj -b -m src=/ | + | poudriere jail -e poudriere.etc |
| </ | </ | ||
| Command line details: | Command line details: | ||
| Line 254: | Line 253: | ||
| * -c: create a jail | * -c: create a jail | ||
| * -j: SHORT name for the jail (I can't use BSDRP-amd64-10.3R here because later it will generate a long directory name and long name aren't well supported) | * -j: SHORT name for the jail (I can't use BSDRP-amd64-10.3R here because later it will generate a long directory name and long name aren't well supported) | ||
| + | * -e: Load all configurations files from ./ | ||
| * -m src=: Path to the patched source branch we want to use | * -m src=: Path to the patched source branch we want to use | ||
| * -K: The kernel configuration file (was copied here during patching BSDRP code tree) | * -K: The kernel configuration file (was copied here during patching BSDRP code tree) | ||
| Line 262: | Line 262: | ||
| < | < | ||
| - | poudriere ports -c -p BSDRPp -m null -M / | + | poudriere ports -e poudriere.etc |
| </ | </ | ||
| Line 269: | Line 269: | ||
| poudriere native role, we just give the jail name and port-tree name to use then the list of packages. | poudriere native role, we just give the jail name and port-tree name to use then the list of packages. | ||
| < | < | ||
| - | poudriere bulk -j BSDRPj -p BSDRPp -f / | + | poudriere bulk -e poudriere.etc |
| </ | </ | ||
documentation/technical_docs/poudriere.1731953194.txt.gz · Last modified: by olivier
