Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Apr 2002 16:55:47 -0800
From:      Jordan Hubbard <jkh@winston.freebsd.org>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade.c media.c package.c 
Message-ID:  <23280.1017708947@winston.freebsd.org>
In-Reply-To: Message from Mikhail Teterin <mi@aldan.algebra.com>  of "Mon, 01 Apr 2002 19:27:58 EST." <200204020028.g320RwFX041492@aldan.algebra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Why can't the packages be extracted "in place" by the sysinstall?

Because that's just not the way it works.  If you wanted to do that,
you'd need to invert the logic of pkg_add to extract in place and then
clean up the non-essentials, rather than extracting in a temporary
directory, moving only the essentials into place, and then deleting
the temp dir.  You certainly shouldn't let us stop you from doing
that, of course, and I'm sure someone will be happy to review your
diffs. :)

> Failing that, why can't the temporary directory be under the PREFIX, to
> make the installations faster and less disk-space consuming?

Same deal as above, with the added complication of not knowing the
PREFIX up-front.

The package utilities are a lot ickier inside than most people realize
and one of the goals of libh was to replace all of that with a much
cleaner mechanism.  Volunteers for libh always welcome!

- Jordan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23280.1017708947>