Re: installworld recreating unwanted dirs

2014-02-03 Thread Brooks Davis
On Mon, Feb 03, 2014 at 08:25:48AM -0800, Sean Bruno wrote:
> I don't understand what I'm doing wrong here.  I've added a lot of
> "WITHOUT" directives to my src.conf, but installworld seems to be
> ignoring them and recreating directories that "make delete-old && make
> delete-old-libs" removes.  Have I missed something obvious here?

Directories are created by mtree using the files in etc/mtree and the process
is all or nothing.  Currently only groff and sendmail have their own mtree
files to allow their directories not be created.  With the current file
format I don't think it would be a good idea to split the mtree files to
support not creating these directories.  Once we switch to the new
format where each directory is specified on a single line it might be
practical to break up the mtree files accordingly, but that feels hard
to maintain for a pretty limited benefit.

-- Brooks

> src.conf:
> WITHOUT_AMD=y
> WITHOUT_APM=y
> WITHOUT_CALENDAR=y
> WITHOUT_CAPSICUM=y
> WITHOUT_CASPER=y
> WITHOUT_CDDL=y
> WITHOUT_EXAMPLES=y
> WITHOUT_FLOPPY=y
> WITHOUT_FREEBSD_UPDATE=y
> WITHOUT_GAMES=y
> WITHOUT_GPIB=y
> WITHOUT_GPIO=y
> WITHOUT_HTML=y
> WITHOUT_IPFILTER=y
> WITHOUT_IPFW=y
> WITHOUT_IPX=y
> WITHOUT_KERBEROS=y
> WITHOUT_LIB32=y
> WITHOUT_LPR=y
> WITHOUT_NDIS=y
> WITHOUT_NETGRAPH=y
> WITHOUT_NIS=y
> WITHOUT_PC_SYSINSTALL=y
> WITHOUT_PMC=y
> WITHOUT_PPP=y
> WITHOUT_RCMDS=y
> WITHOUT_RCS=y
> WITHOUT_RESCUE=y
> WITHOUT_SHAREDOCS=y
> WITHOUT_SYSINSTALL=y
> WITHOUT_USB=y
> WITHOUT_WIRELESS=y
> 
> 
> # make -s installworld
> --
> >>> Making hierarchy
> --
> ./etc/bluetooth missing (created)
> ./etc/ppp missing (created)
> ./games missing (created)
> ./lib/dtrace missing (created)
> ./lib32/dtrace missing (created)
> ./libexec/lpr missing (created)
> ./libexec/lpr/ru missing (created)
> ./share/calendar missing (created)
> ./share/calendar/de_AT.ISO_8859-15 missing (created)
> ./share/calendar/de_DE.ISO8859-1 missing (created)
> ./share/calendar/fr_FR.ISO8859-1 missing (created)
> ./share/calendar/hr_HR.ISO8859-2 missing (created)
> ./share/calendar/hu_HU.ISO8859-2 missing (created)
> ./share/calendar/pt_BR.ISO8859-1 missing (created)
> ./share/calendar/pt_BR.UTF-8 missing (created)
> ./share/calendar/ru_RU.KOI8-R missing (created)
> ./share/calendar/ru_RU.UTF-8 missing (created)
> ./share/calendar/uk_UA.KOI8-U missing (created)
> ./share/doc/atm missing (created)
> ./share/doc/smm/07.lpd missing (created)
> ./share/examples/hostapd missing (created)
> ./share/examples/ipfilter missing (created)
> ./share/examples/pc-sysinstall missing (created)
> ./share/games missing (created)
> ./share/games/fortune missing (created)
> ./share/pc-sysinstall missing (created)
> ./share/pc-sysinstall/backend missing (created)
> ./share/pc-sysinstall/backend-partmanager missing (created)
> ./share/pc-sysinstall/backend-query missing (created)
> ./share/pc-sysinstall/conf missing (created)
> ./share/pc-sysinstall/conf/license missing (created)
> ./share/pc-sysinstall/doc missing (created)
> ./dev/ieee488 missing (created)
> ./gpib missing (created)
> ./kadm5 missing (created)
> ./krb5 missing (created)
> ./netgraph/bluetooth missing (created)
> ./netgraph/bluetooth/include missing (created)
> ./netnatm/api missing (created)
> ./netnatm/msg missing (created)
> ./netnatm/saal missing (created)
> ./netnatm/sig missing (created)




pgp16OQWZ_fAf.pgp
Description: PGP signature


Re: installworld recreating unwanted dirs

2014-02-03 Thread Peter Wemm
On Mon, Feb 3, 2014 at 8:25 AM, Sean Bruno  wrote:
> I don't understand what I'm doing wrong here.  I've added a lot of
> "WITHOUT" directives to my src.conf, but installworld seems to be
> ignoring them and recreating directories that "make delete-old && make
> delete-old-libs" removes.  Have I missed something obvious here?

The mtree based directory creation is (for the most part) unaware of
with/without flags.  There was some mtree partitioning for things like
bind and those were only created if bind was enabled.  But for the
most part, delete-old will prune things that aren't used.

-- 
Peter Wemm - pe...@wemm.org; pe...@freebsd.org; pe...@yahoo-inc.com; KI6FJV
Yes, I know, gmail sucks now. If you see this then I forgot. Habits
are hard to break.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


installworld recreating unwanted dirs

2014-02-03 Thread Sean Bruno
I don't understand what I'm doing wrong here.  I've added a lot of
"WITHOUT" directives to my src.conf, but installworld seems to be
ignoring them and recreating directories that "make delete-old && make
delete-old-libs" removes.  Have I missed something obvious here?

src.conf:
WITHOUT_AMD=y
WITHOUT_APM=y
WITHOUT_CALENDAR=y
WITHOUT_CAPSICUM=y
WITHOUT_CASPER=y
WITHOUT_CDDL=y
WITHOUT_EXAMPLES=y
WITHOUT_FLOPPY=y
WITHOUT_FREEBSD_UPDATE=y
WITHOUT_GAMES=y
WITHOUT_GPIB=y
WITHOUT_GPIO=y
WITHOUT_HTML=y
WITHOUT_IPFILTER=y
WITHOUT_IPFW=y
WITHOUT_IPX=y
WITHOUT_KERBEROS=y
WITHOUT_LIB32=y
WITHOUT_LPR=y
WITHOUT_NDIS=y
WITHOUT_NETGRAPH=y
WITHOUT_NIS=y
WITHOUT_PC_SYSINSTALL=y
WITHOUT_PMC=y
WITHOUT_PPP=y
WITHOUT_RCMDS=y
WITHOUT_RCS=y
WITHOUT_RESCUE=y
WITHOUT_SHAREDOCS=y
WITHOUT_SYSINSTALL=y
WITHOUT_USB=y
WITHOUT_WIRELESS=y


# make -s installworld
--
>>> Making hierarchy
--
./etc/bluetooth missing (created)
./etc/ppp missing (created)
./games missing (created)
./lib/dtrace missing (created)
./lib32/dtrace missing (created)
./libexec/lpr missing (created)
./libexec/lpr/ru missing (created)
./share/calendar missing (created)
./share/calendar/de_AT.ISO_8859-15 missing (created)
./share/calendar/de_DE.ISO8859-1 missing (created)
./share/calendar/fr_FR.ISO8859-1 missing (created)
./share/calendar/hr_HR.ISO8859-2 missing (created)
./share/calendar/hu_HU.ISO8859-2 missing (created)
./share/calendar/pt_BR.ISO8859-1 missing (created)
./share/calendar/pt_BR.UTF-8 missing (created)
./share/calendar/ru_RU.KOI8-R missing (created)
./share/calendar/ru_RU.UTF-8 missing (created)
./share/calendar/uk_UA.KOI8-U missing (created)
./share/doc/atm missing (created)
./share/doc/smm/07.lpd missing (created)
./share/examples/hostapd missing (created)
./share/examples/ipfilter missing (created)
./share/examples/pc-sysinstall missing (created)
./share/games missing (created)
./share/games/fortune missing (created)
./share/pc-sysinstall missing (created)
./share/pc-sysinstall/backend missing (created)
./share/pc-sysinstall/backend-partmanager missing (created)
./share/pc-sysinstall/backend-query missing (created)
./share/pc-sysinstall/conf missing (created)
./share/pc-sysinstall/conf/license missing (created)
./share/pc-sysinstall/doc missing (created)
./dev/ieee488 missing (created)
./gpib missing (created)
./kadm5 missing (created)
./krb5 missing (created)
./netgraph/bluetooth missing (created)
./netgraph/bluetooth/include missing (created)
./netnatm/api missing (created)
./netnatm/msg missing (created)
./netnatm/saal missing (created)
./netnatm/sig missing (created)


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"