Add a hack to pkgtools to install to a different root. This differs from
authorSimon Schubert <corecode@dragonflybsd.org>
Sun, 28 Aug 2005 16:56:12 +0000 (16:56 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Sun, 28 Aug 2005 16:56:12 +0000 (16:56 +0000)
commit1c84d060b95c32bf44bf8c3ce5ddad1a30c5a708
tree67bd078903b0c7235036cc06aed1a8c83168ce50
parente42989ff941a06ddbd5458cf26bc3fcfdefcf355
Add a hack to pkgtools to install to a different root.  This differs from
using PREFIX as the installed files don't get relocated, but all the tree
appears in PKG_FAKEROOT, including PKG_DBDIR.

This won't work for all packages and isn't ment to either.  Pkgtools are
evil hackery anyways and this adds even more.  This will be used in
nrelease to support addition of packages by using the host tools and not
the target tools.
usr.sbin/pkg_install/add/extract.c
usr.sbin/pkg_install/add/perform.c
usr.sbin/pkg_install/lib/lib.h
usr.sbin/pkg_install/lib/plist.c