documentation:technical_docs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:technical_docs [2024/11/12 15:22] – [Prerequisite] olivier | documentation:technical_docs [2024/11/12 15:23] (current) – [Current problems with make] olivier | ||
---|---|---|---|
Line 27: | Line 27: | ||
pkg install git sudo poudriere-devel | pkg install git sudo poudriere-devel | ||
git clone https:// | git clone https:// | ||
- | </ | ||
- | |||
- | Once you download the code, you can kept your BSDRP sources up-to-date with these commands: | ||
- | < | ||
- | make | ||
</ | </ | ||
Line 41: | Line 36: | ||
< | < | ||
- | ./make.sh -h | + | make |
</ | </ | ||
The FreeBSD code include all architecture and limited cross-compiling tools: You can generate an i386 BSDRP image from a FreeBSD amd64, but you can't generate a sparc64 image from an i386/amd64 host. | The FreeBSD code include all architecture and limited cross-compiling tools: You can generate an i386 BSDRP image from a FreeBSD amd64, but you can't generate a sparc64 image from an i386/amd64 host. | ||
- | ===== Current problems with make ===== | ||
- | |||
- | ==== Disk image creation can fail ==== | ||
- | |||
- | On FreeBSD dektop, sometimes NanoBSD can't umount the md during image creation. | ||
- | |||
- | "fstat | grep BSDRP" display the name of the process locking the temporary mount point. It can be: | ||
- | * gam_server | ||
- | * gvfsd-trash | ||
- | |||
- | here is the log of a failed build: | ||
+ | Once you download the code, you can kept your BSDRP sources up-to-date with these commands: | ||
< | < | ||
- | ### log : / | + | make upstream-sync |
- | Error encountered. Check errors in last log file. | + | |
- | Running exit trap code | + | |
- | root@dev # tail -n 4 / | + | |
- | unmount: unmount of / | + | |
</ | </ | ||
- | ==== gam_server ==== | ||
- | For preventing gamin to lock the working mount point, create this configuration file and force a restart of gamin: | ||
- | < | ||
- | mkdir / | ||
- | echo "fsset ufs poll 10" > / | ||
- | killall -9 gam_server | ||
- | </ | ||
- | ==== gvfsd-trash ==== | ||
- | I don't know how to fix this gvfs bug. | + | |
====== How to generate customized BSDRP images ====== | ====== How to generate customized BSDRP images ====== |
documentation/technical_docs.1731421335.txt.gz · Last modified: 2024/11/12 15:22 by olivier