@teajaygrey @dch How did y’all know I am working on #OccamBSD… on ARM64?

Been trying to keep my #PCEngines #ALIX boards alive, but it looks like #NanoBSD in #FreeBSD doesn't work (compile error in tz!) ...

Nobody seems to still product bootable system images for i386 anymore - not even #NetBSD or #DietPi :(

... which is a real shame; I want to use these extremely reliable, low-power SBCs as #Zabbix Proxies (using memory-backed #SQLite for the DB), but this seems to be a realllllllly big lift :(

@dexter is this something #OccamBSD can help me with? No chance of a 14.3 serial-console image out there?

@thedarktangent you should know about @dexter who has conducted extensive build option surveys, and about #OccamBSD. It sounds like you are not trying for the smallest possible build, but his experience may help you somehow
@videlft @jcamos @stefano Well heck, I only just managed to get off of iocage. Since FBSD 14 gained more flexibility about where jail config is written (jail.conf.d, includes, etc), I found most of the settings in iocage's json file about a jail could be moved into a per-jail jail.conf, and presto, i'm using only the base system to manage my jails. To make jails smaller, I'm working with #OccamBSD. No good built-in solution for managing all those basejails iocage set up - but the snaps and clones it made are still there and working. (I don't intend to discourage iocage users or maintainers by saying this - it's great news that maintainers have stepped up! Give the tool a shot.)

My #FreeBSD 14.2 #OccamBSD profile just wouldn't build. When the sbin/md5 utility was being linked, it could not find the casper nor cap_fileargs libraries. I carefully verified that the .so files for these had been built and put in the right place to be used. After staring at the cc command a bunch, I finally realized it had a "-static" switch in it, so we needed .a files for some reason, not .so files. After a bunch of #emacs ediffing, I found that the profile-amd64-bareminimum14.txt had something my OccamBSD profile was missing: WITHOUT_DYNAMICROOT. (If you're new to OccamBSD: it starts with every WITHOUT, and removes the WITHOUTs you specify in your profile, making the simplest FreeBSD build that meets your requirements; so writing WITHOUT_DYNAMICROOT in an OccamBSD profile means, "I want DYNAMICROOT.") According to src.conf(5), this determines whether the binaries in /bin and /sbin will be statically or dynamically linked.

The bareminimum14 profile says DYNAMICROOT is "required by geom, or gpart." No doubt, but I didn't include those because I'm building a jail, so I don't want disk utilities and I didn't run into that problem. I guess I can say it's also "required by md5." But I don't know if anyone cares :) People building from source are probably using CURRENT, and people using 14.2 are probably using official installation media, and all of them probably have dynamically linked /bin and /sbin binaries, just like I do now.

I have just pushed a wave of #OccamBSD changes:

https://github.com/michaeldexter/occambsd

1. Make occambsd.sh and propagate.sh mostly spellcheck-approved

2. Add “directory of patches” support to OccamBSD

4. The PkgBase improvements I mentioned a few days ago, which will probably evolve the most

4. Misc style and bug fixes

GitHub - michaeldexter/occambsd: An application of Occam's razor to FreeBSD

An application of Occam's razor to FreeBSD. Contribute to michaeldexter/occambsd development by creating an account on GitHub.

GitHub

@dexter Thanks to #OccamBSD propagate.sh updates from December that I've now fetched, I've messed with pkg base for the first time.

Above the base_pkg_exclusions for "A lightweight jail system" in propagate.sh there's a comment, "Why does this set install zfs no matter how much it is excluded? Dependency?" The answer, as I've found, is that FreeBSD-utilities-14.2 shlibs_requires libzfs.so.4, and FreeBSD-zfs-14.2 shlibs_provides it.

Thanks again for even more work improving this! I'm at 137MiB for my firewall/router jail build, where occambsd.sh gets me less than 50MiB - but propagate works almost instantly, while occambsd ... builds LLVM. :) 91% of the space savings and 91x the speed? Super cool!

From the brute force|you’re welcome department: I am finally using some git log noise to run build option regression tests with #OccamBSD, going back in time until it succeeds.

Migrated my mail server to my dedicated host today!  

I am left with one tiny VM for offsite DNS, and one dedicated host with several jails.

I now have the urge to set up several smaller jails for shared services, all built on #OccamBSD. #sysadmin

If only! If only…

#OccamBSD