I'm trying to build an ultra-thin template for a set of jailed applications and I'm running into some issues getting a base system installed from source.
So I guess my question is: What is the proper workflow for installation into an empty directory?
For completeness, I'm using 14.2-RELEASE and here's what I'm doing:
make installworld
doesn't seem to install the default scripts or config files into /etc. The only instructions I can find are for updating these files using etcupdate
, but it doesn't seem to perform the function I'm looking for. I've also tried the distributeworld
make target, but it doesn't do the thing either.So I guess my question is: What is the proper workflow for installation into an empty directory?
For completeness, I'm using 14.2-RELEASE and here's what I'm doing:
Code:
export DESTDIR=`realpath -q $world/dist`
export SRCCONF=`realpath -q $world/src.conf`
make -C /usr/src buildworld
make -C /usr/src installworld
Makefile:
# src.conf
WITHOUT_TOOLCHAIN=1
WITHOUT_BOOT=1
WITHOUT_TESTS=1
WITHOUT_EXAMPLES=1
WITHOUT_MAN=1
WITHOUT_HTML=1
WITHOUT_DOCCOMPRESS=1
WITHOUT_SHAREDOCS=1
WITHOUT_INCLUDES=1
WITHOUT_ACCT=1
WITHOUT_AUDIT=1
WITHOUT_BSNMP=1
WITHOUT_CALENDAR=1
WITHOUT_DTRACE=1
WITHOUT_EE=1
WITHOUT_FINGER=1
WITHOUT_KDUMP=1
WITHOUT_LOCATE=1
WITHOUT_LPR=1
WITHOUT_PMC=1
WITHOUT_QUOTAS=1
WITHOUT_RESCUE=1
WITHOUT_ROUTED=1
WITHOUT_STATS=1
WITHOUT_TCSH=1
WITHOUT_VI=1
WITHOUT_INETD=1
WITHOUT_NTP=1
WITHOUT_OPENSSH=1
WITHOUT_PPP=1
WITHOUT_RBOOTD=1
WITHOUT_TALK=1
WITHOUT_TELNET=1
WITHOUT_TFTP=1
WITHOUT_MAIL=1
WITHOUT_BHYVE=1
WITHOUT_ACPI=1
WITHOUT_APM=1
WITHOUT_USB=1
WITHOUT_WIRELESS=1
WITHOUT_BLUETOOTH=1
WITHOUT_FLOPPY=1
WITHOUT_SYSCONS=1
WITHOUT_VT=1
WITHOUT_ZFS=1