From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 15 19:44:46 2007 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0579F16A403; Sun, 15 Jul 2007 19:44:46 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 6467C13C4A6; Sun, 15 Jul 2007 19:44:45 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop ([88.218.116.251]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l6FJiT4v005239 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 15 Jul 2007 22:44:35 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l6FJiS9q007195; Sun, 15 Jul 2007 22:44:29 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l6FJiS60007194; Sun, 15 Jul 2007 22:44:28 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 15 Jul 2007 22:44:28 +0300 From: Giorgos Keramidas To: Tim Kientzle Message-ID: <20070715194427.GB7126@kobe.laptop> References: <46992FFF.7010906@kientzle.com> <20070715002708.GA3665@kobe.laptop> <46998A66.4030503@kientzle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46998A66.4030503@kientzle.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.5, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.90, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: hackers@FreeBSD.org, rwatson@FreeBSD.org, cperciva@FreeBSD.org Subject: Re: Tar output mode for installworld X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2007 19:44:46 -0000 On 2007-07-14 19:45, Tim Kientzle wrote: >On 2007-07-14 13:20, Tim Kientzle wrote: >>> >>> >>> This is easy to implement using a ... text format such as: >>> bin/sh file /usr/obj/usr/src/bin/sh >>> bin/sh uname root >>> rescue/mkdir hardlink rescue/rescue >>> bin/sh mode 0666 >>> bin/rcp mode 04666 > >Giorgos Keramidas responds: >> A packaging list for one of the distributions I've built at work >> includes stuff like: >> # Misc command-line tools in @prefix@/bin/... >> d none @prefix@/bin 0755 root bin >> f none @prefix@/bin/progname-2.0 0755 root bin >> s none @prefix@/bin/progname=progname-2.0 > > My concern is that "all of the bits for one file" may not always be > available at a single place in the build. Some programs use the > "afterinstall" hook to set flags on the installed binary, for example. Ah, I see now :-) Yes, that would not be easy to support with a single-line format, at least not without some sort of post-processing of the file list. But if we *are* going to need postprocessing, it may as well be a multiline format, like the one you suggested. - Giorgos