From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 15 02:46:02 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 B535116A400; Sun, 15 Jul 2007 02:46:02 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5AAE613C4AA; Sun, 15 Jul 2007 02:46:02 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from [10.0.0.222] (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id l6F2jwH7004642; Sat, 14 Jul 2007 19:45:58 -0700 (PDT) (envelope-from tim@kientzle.com) Message-ID: <46998A66.4030503@kientzle.com> Date: Sat, 14 Jul 2007 19:45:58 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas References: <46992FFF.7010906@kientzle.com> <20070715002708.GA3665@kobe.laptop> In-Reply-To: <20070715002708.GA3665@kobe.laptop> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 02:46:02 -0000 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. My version allows different information about a file to be output at different points in the build process. A simple 'sort' then collects information about each file together, making it easy to then build the final archive. Tim Kientzle