Subject: Re: bulk build w/ libkver?
To: grant beattie <grant@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 10/02/2004 14:14:33
On Sat, 2 Oct 2004, grant beattie wrote:
>> Does anyone have instructions on how to do a bulk build with libkver,
>> preferably in a chroot?
>
> 1. install libkver
> 2. create symlink in chroot /libkver_osrelease -> 2.0 (or whatever
>   release your chroot contains)
> 3. "env LD_PRELOAD=/usr/lib/libkver.so chroot /yourchroot" and run
>   uname inside the chroot to make sure you see the right kernel version
> 3. cd /yourchroot/usr/pkgsrc; env LD_PRELOAD=/usr/lib/libkver.so \
>   sh mk/bulk/build
>
> that should do it :)

OK... can we be sure that nothing removes the LD_PRELOAD entry from $ENV?
(I presume you didn't really test the above, and verified that it works, 
esp. with some OSVERSION_SPECIFIC pkgs? :)

  - Hubert

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