Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2012 14:13:30 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        "Simon J. Gerraty" <sjg@juniper.net>, Tim Kientzle <tim@kientzle.com>, freebsd-arch@freebsd.org, Dag-Erling Sm?rgrav <des@des.no>
Subject:   Re: Allow user install
Message-ID:  <2B2E5252-37AD-4EB1-B31D-E37470E3F31F@xcllnt.net>
In-Reply-To: <20120628182557.GA15593@lor.one-eyed-alien.net>
References:  <20120626063017.D05DA58081@chaos.jnpr.net> <86wr2uwdgf.fsf@ds4.des.no> <C31B93F4-674C-4183-9F3F-5F7C48980204@kientzle.com> <20120626161605.5082A58081@chaos.jnpr.net> <20120627235945.GE243@lor.one-eyed-alien.net> <52A78E4A-948B-4A79-A95D-0FC7D225BC00@kientzle.com> <20120628182557.GA15593@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jun 28, 2012, at 11:25 AM, Brooks Davis wrote:

> On Wed, Jun 27, 2012 at 09:12:39PM -0700, Tim Kientzle wrote:
>> 
>> On Jun 27, 2012, at 4:59 PM, Brooks Davis wrote:
>> 
>>> On Tue, Jun 26, 2012 at 09:16:05AM -0700, Simon J. Gerraty wrote:
>>>> 
>>>> On Tue, 26 Jun 2012 08:18:05 -0700, Tim Kientzle writes:
>>>>> Better idea:  have the build write a textual description of the
>>>>> tar entries.  That description can then be fed to tar to build
>>>>> the actual tarball.
>>>> 
>>>> Yes, that's what we do - manifest files that tar and other tools use to
>>>> produce the install images.
>>>> 
>>>>> The description format that tar already supports is a variant
>>>>> mtree format borrowed from NetBSD.  Each line specifies
>>>>> the tar entry fields (filename, owner, permissions, etc) and
>>>>> the filename where the file contents are stored.
>>>> 
>>>> Yes, we've added that support to makefs - I believe it is already in
>>>> -current.  There's still quite a bit to do.
>>> 
>>> It's there except that makefs uses the FreeBSD mtree code which doesn't
>>> support the crucial absolute path support in NetBSD's mtree.
>> 
>> If it helps:  libarchive can read NetBSD's mtree format.
> 
> I actually found this because I wanted to use libarchive's mtree output
> as input to makefs.

Can you give me the test case. I did that too and it worked for me.

-- 
Marcel Moolenaar
marcel@xcllnt.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2B2E5252-37AD-4EB1-B31D-E37470E3F31F>