tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg_add and remote packages
> * "in-place extraction", meaning the local package is extracted
> directly into ${LOCALBASE} and ${PKG_DBDIR} without using an
> intermediate directory to hold the contents of the "unpacked" package.
Ok. I didn't understand this correctly.
> This isn't "fetch to stdout | tar -xf -". It's more like:
> fetch to local_pkg.tgz
do_all_checks_here
> cat local_pkg.tgz | ( cd /usr/pkg; tar -zxf - )
if error; then remove all partially extracted files; endif
How about last check?
> For comparison, IIRC, what currently happens is:
> fetch to stdout | ( cd /var/tmp/inst.XXXXXX; tar -zxf - )
> cd /var/tmp/inst.XXXXXX; tar -cf - * | ( cd /usr/pkg; tar -xf - )
get to stdout | ( cd /var/tmp/instmp.13735e; tar --use-compress-program gzip
-vvxp -f - | tee /dev/stderr )"
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index