From owner-cvs-all Mon Apr 1 16:56:25 2002 Delivered-To: cvs-all@freebsd.org Received: from winston.freebsd.org (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id 5D42F37B41E; Mon, 1 Apr 2002 16:56:19 -0800 (PST) Received: from winston.freebsd.org (jkh@localhost [127.0.0.1]) by winston.freebsd.org (8.11.6/8.11.6) with ESMTP id g320tl323284; Mon, 1 Apr 2002 16:55:48 -0800 (PST) (envelope-from jkh@winston.freebsd.org) To: Mikhail Teterin 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 In-Reply-To: Message from Mikhail Teterin of "Mon, 01 Apr 2002 19:27:58 EST." <200204020028.g320RwFX041492@aldan.algebra.com> Date: Mon, 01 Apr 2002 16:55:47 -0800 Message-ID: <23280.1017708947@winston.freebsd.org> From: Jordan Hubbard Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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