documentation:technical_docs:nanobsd
Differences
This shows you the differences between two versions of the page.
| documentation:technical_docs:nanobsd [2011/12/27 14:37] – external edit 127.0.0.1 | documentation:technical_docs:nanobsd [2021/01/18 16:03] (current) – olivier | ||
|---|---|---|---|
| Line 148: | Line 148: | ||
| ====== BSDRP patches for NanoBSD ====== | ====== BSDRP patches for NanoBSD ====== | ||
| - | |||
| - | All this patchs were wrote for NanoBSD included in FreeBSD 8.1-Release. | ||
| - | |||
| - | ===== AMD64 support ===== | ||
| - | |||
| - | This very small patch permit to generate NanoBSD amd64 image. | ||
| - | |||
| - | This patch [[http:// | ||
| - | |||
| - | ===== Label support: No more hardcoded ad0/da0 for root filesystem ===== | ||
| - | |||
| - | The image of NanoBSD hardcode the device type use for mounting the root filesystem: | ||
| - | * ad0 for the first ATA device | ||
| - | * da0 for the first SCSI device (used for USB key) | ||
| - | This mean, that a " | ||
| - | |||
| - | The pfSense team meet the same problem, and Scott Ullrich give me this big advice: Use label in your fstab for avoiding this problem! | ||
| - | |||
| - | Then, here is the patch, and the new update script (merged updatep1 and updatep2 nanoBSD script): | ||
| - | |||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | |||
| - | This patch [[http:// | ||
| ===== Port compiling patches ===== | ===== Port compiling patches ===== | ||
| Line 181: | Line 157: | ||
| This patch support cross-compilation i386 ports from an amd64 release. | This patch support cross-compilation i386 ports from an amd64 release. | ||
| - | You can found this patches as the function add_port () in the [[http://bsdrp.svn.sourceforge.net/viewvc/bsdrp/trunk/ | + | You can found this patches as the function add_port () in the [[https://github.com/ocochard/BSDRP/blob/ |
| - | + | ||
| - | ===== Improving mtree generation ===== | + | |
| - | + | ||
| - | NanoBSD generate a mtree reference file, but for system security audit the default nanoBSD mtree file didn't contain enough parameters | + | |
| - | + | ||
| - | This patch add sha256digest to mtree function of nanoBSD: | + | |
| - | + | ||
| - | [[http:// | + | |
| - | + | ||
| - | ===== sparc64 support (work in progress) ===== | + | |
| - | + | ||
| - | This patch is to be used with the nanobsd glabel patch: | + | |
| - | + | ||
| - | [[http:// | + | |
| - | + | ||
| - | <note important> | + | |
| - | + | ||
| - | Upgrading nanoBSD image is not supported: There is no FreeBSD bootloader available on sparc64 (the Sun OBP permit to select the partition from where to boot). | + | |
| - | </ | + | |
| - | + | ||
| - | Actual State: Commenting net/bird and net/ | + | |
| - | + | ||
| - | ===== arm support (work in progress) ===== | + | |
| - | + | ||
| - | <note warning> | + | |
| - | + | ||
| - | But it should work from an arm FreeBSD (not tested, I didn't have arm computer)</ | + | |
| - | This patch permit | + | But the best solution should to use poudriere |
| - | [[http:// | ||
documentation/technical_docs/nanobsd.txt · Last modified: 2021/01/18 16:03 by olivier
