pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: updating pkg_comp system

I apologize if the question is too trivial, but what is a sensible way
to update the NetBSD installation inside a pkg_comp chroot?

1) don't.  rebuild instead, and script the whole creation process.  keep
your binary packages outside anyway

2) see sysutils/etcmanage and read the scripts that come with it very
carefully.  INSTALL-NetBSD does an in-place update of a running system.

I would choose 1 for pkg_comp chroots.

Indeed, 1 is the easiest way. In the end, you only need an up to date mk.conf and resolv.conf in your pkg_comp chroot to be good.


Home | Main Index | Thread Index | Old Index