Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 10:53:33 -0600
From:      Brooks Davis <brooks@freebsd.org>
To:        sbruno@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: installworld recreating unwanted dirs
Message-ID:  <20140203165333.GB52975@lor.one-eyed-alien.net>
In-Reply-To: <1391444748.1473.3.camel@powernoodle.corp.yahoo.com>
References:  <1391444748.1473.3.camel@powernoodle.corp.yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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)



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iD8DBQFS78mMXY6L6fI4GtQRAmEfAJ4iYbaoPEdVe3of20omr+3tOBiGZwCg3xZW
DL4RoOM3ijf+pIhoTsp6IBo=
=r5Kj
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140203165333.GB52975>