On Thu, May 27, 2010 at 2:03 PM, Stuart Hughes
<address@hidden> wrote:
Hi Gernot,
Just a bit of background information on %ldirs. Although it can be used
to provide a way of users storing their own content, it's not intended
for that.
The purpose of %ldirs was mainly to provide a backward compatible way of
supporting older LTIBs without having to re-duplicate downloaded
content. If you look at the setting you see:
1. /var/tmp/pkgs
2. /opt/freescale/pkgs
1. Was the really really old place that LTIB stored downloaded content.
It was chosen as it was open to write by all users. It soon got
discarded as I forgot tmpwatch (Fedora) will clean this area up if a
file hasn't been accessed for x amount of time.
2. This is where Freescale BSPs download to, it's still current. I
wanted to separate the Savannah/Freescale download areas, but not to
re-downloaded if content was present in /opt/freescale/pkgs, so that's
why this is in %ldirs
Now back to the original point. It's best not to extend %ldirs without
care, for example as a per-user storage (supported by multiple dirs).
The reason is that you could end up with:
* duplication of content
* filename clashes (2 files of same name in different area)
You could legitimately use %ldirs in a controlled way if you added one
directory that you were going to use say for your own original (possibly
sensitive/proprietary) content.
Regards, Stuart
Gernot Hillier wrote:
> Hi!
>
> Am 26.05.2010 14:51, schrieb abc xyz:
> [LPP in another directory]
>> The point got clear..To maintain uniqueness it is better to put the
>> tarball in some specific location...
>
> Nevertheless, you can do that. See the directive "%ldirs" in your .ltibrc.
>