Subject: Re: syspkg dependencies
To: None <current-users@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 10/20/2004 09:59:22
On Tue, 19 Oct 2004, David Young wrote:
> Cool. Alan, I suggest using install, e.g.,
>
> @exec install -o root -g wheel -m 0755 %D/altroot
Done. (It also needed a "-d" option.)
> install has the nice property that it can write a metalog for mtree(8).
> (In the far off future, I hope we can do privilegeless installs of
> selected syspkgs, and then create a boot image with makefs(8).)
The pkg_add in that future will have to differ from the present one
in at least the following ways:
* understand the concept of a DESTDIR being distinct from a PREFIX;
* write a metalog;
* be a host tool;
* use host tools internally (e.g. pax instead of tar).
It might as well also differ from the present one in not needing
"@exec install" lines for directories.
--apb (Alan Barrett)