Hi gang!
I've been using the source tree to keep my servers up to date for quite some time now. One aspect which I particularly like is having the option to control which parts get build and which don't. So, for example, because I'm using the source tree exclusively I opted to skip building software like sendmail, sysinstall and freebsd-update.
However, on one of my servers I'm also using a Jail which I'd like to keep as pristine as possible. So while my host uses Postfix and as because of that doesn't have Sendmail installed I want the jail to use Sendmail since that is the default.
To this end I copied /etc/src.conf to /etc/src.dogma.conf and removed the lines which prevented the build of those programs. So basically this is my /etc/src.dogma.conf:
The main difference with my regular src.conf is the absence of these lines:
Now, just to make sure everything works as expected I've emptied /usr/obj before running
Because this is a test I've installed the whole lot to a new location, namely /usr/jails/dogma.new as follows:
However, after running those commands I don't end up with /usr/jails/dogma.new/usr/sbin/sysinstall, or (when looking from the jail root) /etc/mail and such.
So either I'm overlooking the obvious or SRCCONF didn't overrule my regular src.conf. Does anyone have a hint as to what might be going on here?
I've been using the source tree to keep my servers up to date for quite some time now. One aspect which I particularly like is having the option to control which parts get build and which don't. So, for example, because I'm using the source tree exclusively I opted to skip building software like sendmail, sysinstall and freebsd-update.
However, on one of my servers I'm also using a Jail which I'd like to keep as pristine as possible. So while my host uses Postfix and as because of that doesn't have Sendmail installed I want the jail to use Sendmail since that is the default.
To this end I copied /etc/src.conf to /etc/src.dogma.conf and removed the lines which prevented the build of those programs. So basically this is my /etc/src.dogma.conf:
Code:
## Compiler specification
CC=clang
CPP=clang-cpp
CXX=clang++
## Optimized options for world
WITHOUT_BLUETOOTH=
WITHOUT_FLOPPY=
WITHOUT_IPX=
WITHOUT_QUOTAS=
WITHOUT_USB=
WITHOUT_WIRELESS=
Code:
WITH_CLANG_IS_CC=
WITHOUT_CVS=
WITHOUT_FREEBSD_UPDATE=
WITHOUT_SENDMAIL=
WITHOUT_SYSINSTALL=
# make buildworld SRCCONF=/etc/src.dogma.conf
.Because this is a test I've installed the whole lot to a new location, namely /usr/jails/dogma.new as follows:
Code:
# make installworld DESTDIR=/usr/jails/dogma.new
# make distribution DESTDIR=/usr/jails/dogma.new
So either I'm overlooking the obvious or SRCCONF didn't overrule my regular src.conf. Does anyone have a hint as to what might be going on here?