Subject: Re: bulk build w/ libkver?
To: grant beattie <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 10/04/2004 02:59:14
On Sat, 2 Oct 2004, grant beattie wrote:
> that should do it :)

Indeed, seems to work pretty well, assuming nothing resets $ENV even the 
config symlink is not needed. So some more detailled steps seems to be:

  * install pkgsrc/pkgtools/libkver

    # cd /usr/pkgsrc/pkgtools/libkver
    # make install

  * Make sure the libkver shared object is available both in the sandbox
    and in the "real" (outside) system:

    # mkdir -p /usr/sandbox/usr/local/lib
    # cp /usr/pkg/lib/ /usr/local/lib
    # cp /usr/pkg/lib/ /usr/sandbox/usr/local/lib

  * Start the build (e.g. for NetBSD 3.0 pkgs):

    # cd /usr/sandbox/usr/pkgsrc
    # env LD_PRELOAD=/usr/local/lib/ \
 	 sh mk/bulk/do-sandbox-build

Maybe someone wants to test this before we put it into (the successor of) 

  - Hubert

If wishes were wings,  o"   )~  would fly.            -- Go!