Re: installworld recreating unwanted dirs

From: Brooks Davis <brooks_at_freebsd.org>
Date: Mon, 3 Feb 2014 10:53:33 -0600
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)



Received on Mon Feb 03 2014 - 15:53:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC