<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Feb 3, 2018 12:05 AM, "George Rosamond" <<a href="mailto:george@ceetonetechnology.com">george@ceetonetechnology.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A while back there was an freebsd-arm@ discussion about building images<br>
with the crochet tool, and including a sample src.conf file.<br>
<br>
The src.conf file provides parameters for building or updating a system<br>
from source. It allows different parts of the kernel to be removed, or<br>
added.  The relevant application for crochet was in reducing the<br>
footprint of a system for embedded use, but there are obvious security<br>
benefits. It is/was also relevant for building GPL-less systems. But<br>
there's more obvious applications, like, do you really need pf, ipfw and<br>
ipf in your base system? Bluetooth on a server?  freebsd-update(8) if<br>
you're following stable?<br>
<br>
However, there's no default /etc/src.conf file in FreeBSD, and<br>
maintaining one is tricky. There are unnoticed changes during releases.<br>
The best method is to extract it from the man page, IMHO.<br>
<br>
This is a script which I've toyed with for a while, and I think it's<br>
"usable" for others who want to create an appropriate /etc/src.conf file<br>
on the system the script is run.  It might need more cleanup, since it's<br>
been sitting in my attic for a while.<br>
<br>
I still maybe sort out the hierarchical aspects of the src.conf, ie, if<br>
you set WITHOUT_WIRELESS it also enforces WITHOUT_WIRELESS_SUPPORT.<br>
<br>
It assumes user land and the kernel are in sync, of course.<br>
<br>
<a href="http://wiki.torbsd.org/doku.php?id=en:a_shell_script_to_convert_src.conf_5_contents_to_an_example_etc_src.conf_file" rel="noreferrer" target="_blank">http://wiki.torbsd.org/doku.<wbr>php?id=en:a_shell_script_to_<wbr>convert_src.conf_5_contents_<wbr>to_an_example_etc_src.conf_<wbr>file</a><br>
<br>
I'm curious to hear if others regularly use the /etc/src.conf file when<br>
building from source.  Any comments/input on it are welcome.<br>
<font color="#888888"><br>
g<br>
<br>
--<br>
<br>
<br>
5822 F82D 665B 5C6A 915B FAD4 B014 1CEE 545A A6C6<br>
<br>
______________________________<wbr>_________________<br>
talk mailing list<br>
<a href="mailto:talk@lists.nycbug.org">talk@lists.nycbug.org</a><br>
<a href="http://lists.nycbug.org/mailman/listinfo/talk" rel="noreferrer" target="_blank">http://lists.nycbug.org/<wbr>mailman/listinfo/talk</a><br>
</font></blockquote></div>Shouldn't there be a wiki on <a href="http://freebsd.org">freebsd.org</a>. helpful for people to start off tweaking the OS. Should be same for others too.</div></div></div>