[oi-dev] [userland] Re: Downloading archives to a common area
Adam Števko
adam.stevko at gmail.com
Sat May 5 16:50:56 UTC 2012
Hi,
I also think this is an excellent idea. I would like to rise a priority for this change because it makes illumos-userland's file hierarchy much more simple and groups source tarballs in one place, where they can be rsynced directly to DLC mirror.
Adam
On May 5, 2012, at 6:41 PM, Andrew Stormont wrote:
> I think this is a great idea.
>
> Andrew.
>
> On 05/05/2012 17:35, "Alasdair Lumsden" <alasdairrr at gmail.com> wrote:
>
>> Hi All,
>>
>> One improvement we added to s10-userland, was to download archives to a
>> single top level archives directory instead of into the component
>> directory.
>>
>> We used:
>>
>> $(WS_TOP)/archives
>>
>> We did this by defining "USERLAND_ARCHIVES?= $(WS_TOP)/archives" in
>> shared-macros.mk and fixing up prep.mk.
>>
>> There are a few benefits to this, one is that if you have lots of
>> illumos-userland workspaces, they can all share a single archive
>> directory. It can be NFS or lofs mounted, and it makes rsyncing the
>> contents of that directory up to our mirror archive a lot easier than
>> manually picking through all the component directories.
>>
>> It also lets us add $(WS_TOP)/archives to .hgignore and no longer have to
>> put up with seeing downloaded archives in the "hg status" output.
>>
>> Before I begin work on this changeset for illumos-userland, does anyone
>> have any feedback?
>>
>> Cheers,
>>
>> Alasdair
More information about the oi-dev
mailing list