tech-pkg archive

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

Re: Making syspkgs and makefs play nice together

In article <> Joerg wrote:
: On Mon, May 11, 2009 at 02:54:11PM +0200, Dieter Baron wrote:
: >   I would suggest that the unprivileged mode of pkg_add (optionally)
: > writes out the mtree specification itself.  pkg_add knows the
: > ownership and permission the installed files should have, and can
: > record that in a file instead of setting them directly in the file
: > system (like install(1) does when it's invoked by

: You can get everything of that directly from the package file.

  With package file you mean the foo.tgz binary package?

  What Lloyd is trying to do is the following: As unpriviledged user,
extract a bunch of (sys)packages into a staging directory and then
create an fss image from that.  The files on the image need to have
correct ownership and permissions.

  Now, if pkg_add could write that information to a file while it is
processing said information, it would be much less error prone than
extracting and converting the information in a separate step.


Home | Main Index | Thread Index | Old Index