Subject: Re: CVS commit: pkgsrc/mk/bulk
To: Jeremy C. Reed <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 03/30/2005 22:46:38
On Wed, 30 Mar 2005, Jeremy C. Reed wrote:
> Is there any way to list some packages we don't want to ever be removed?

Not exactly, but to make sure some pkgs always get installed before 
building any pkg, there is (in pkgsr/mk/bulk/

# A list of pkgs which we should _never_ delete during a build.  The primary
# use is for digest and also for xpkgwedge.  Add pkgtools/xpkgwedge in
# /etc/mk.conf to do an xpkgwedged bulk build.
BULK_PREREQ+=           pkgtools/digest

> I want to do some bulk builds using this mechanism with LOCALBASE=/usr. I
> have been using LOCALBASE=/usr for a couple years. I want to use
> mk/bulk/build for it now but I have a small set of packages that must
> never be removed (even in chroot environment).

Hmmmm, I recommend doing bulk builds in a chroot environment.
It's more safe, and there's no way it'll thrash your live system, whatever 
happens (you can never now - check your / after the build :)

  - Hubert

NetBSD - Free AND Open!      (And of course secure, portable, yadda yadda)