Date: Tue, 15 Apr 2008 20:50:18 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: Ashant Chalasani <sys@sellerbay.org> Subject: Re: Install port without man page Message-ID: <200804152050.19632.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <6a5b467e0804150907u20d1163fo27c067c025d8b08c@mail.gmail.com> References: <6a5b467e0804150907u20d1163fo27c067c025d8b08c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 15 April 2008 18:07:42 Ashant Chalasani wrote: > Is there a way to install a port without the man-pages. I'm trying to > install a dhcp server onto a Tinybsd image and end up buying myself a > bunch of files in /man, as seen at > http://code.google.com/p/tinybsdap/wiki/InstallingPorts (hope the > linking is not minded). Read what you got in there: Instead of using FORCE_PKG_REGISTER which will alter the currently installed ports on the build system and change their prefix so they can't be uninstalled properly with pkg_delete, you can set PKG_DBDIR to a different directory. For example, all 'trash' that's part of the image build process, but not going to be in the image goes in /build. Image on /mnt, you'd do: mkdir -p /build/var/db/pkg mkdir /build/local # saves you some work create all 'man*' directories and should you decide more # directories should be excluded, then you can do so mtree -ude -f /etc/mtree/BSD.local.dist -p /build/local mkdir /mnt/man mount -t nullfs /build/local/man /mnt/man cd /usr/ports/shells/bash make PKG_DBDIR=/var/db/pkg PREFIX=/mnt install -- Mel Problem with today's modular software: they start with the modules and never get to the software part.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804152050.19632.fbsd.questions>