chlamydia inconsistency? part II.
steve at sohara.org
Sat Sep 25 12:12:31 PDT 2010
On Sat, 25 Sep 2010 10:53:33 -0700 (PDT)
Matthew Dillon <dillon at apollo.backplane.com> wrote:
> A couple of things note when messing with pkgsrc:
> * Remember that /usr/pkg also tends to contain configuration files
> that you may have edited, in /usr/pkg/etc, so don't accidently blow away
> stuff you need.
> * When doing major messing around with pkgsrc it might be prudent to
> create a chroot'd copy of the system and do the messing around
> inside the chroot instead of on the main system's directory tree.
> It's easiest to just cpdup a copy of various things into the chroot,
> and remember to do the second mount_devfs. A more complex scenario
> would involve a mix of cpdup and mount_null null mounts to construct
> the chroot environment.
This is my standard recipe for constructing a pkgsrc build chroot
make DESTDIR=$DIR installworld
make DESTDIR=$DIR distribution
mount_null /usr/pkgsrc $DIR/usr/pkgsrc
mount_null /dev $DIR/dev
I build with WRKOBJDIR=/usr/pkgobj so the build doesn't
Steve O'Hara-Smith | Directable Mirror Arrays
C:>WIN | A better way to focus the sun
The computer obeys and wins. | licences available see
You lose and Bill collects. | http://www.sohara.org/
More information about the Users