Allow user install
Marcel Moolenaar
marcel at xcllnt.net
Sun Jul 1 21:13:34 UTC 2012
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 at xcllnt.net
More information about the freebsd-arch
mailing list