Subject: Re: bulk build w/ libkver?
To: grant beattie <grant@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
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/libkver.so /usr/local/lib
    # cp /usr/pkg/lib/libkver.so /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/libkver.so \
 	 LIBKVER_OSRELEASE=3.0 \
 	 sh mk/bulk/do-sandbox-build

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


  - Hubert

-- 
                         ,,__
If wishes were wings,  o"   )~  would fly.            -- Go www.NetBSD.org!
                         ''''