[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Re: Changing ltib base dir

From: Kumar Gala
Subject: [Ltib] Re: Changing ltib base dir
Date: Fri, 1 Dec 2006 10:46:57 -0600

On Dec 1, 2006, at 10:39 AM, Stuart Hughes wrote:

Hi Kumar,

I would be worried about making it / as this would make the host support
packages (that go into /opt/freescale/ltib) overwrite the host you are
installed on. Also the LPP would end up as /pkgs, which again probably
is not idea.

I'm not suggesting /, but /opt (this we'd get /opt/ltib and /opt/pkgs)

Essentially there are 2 things to take care of if you want to
relocate /opt/freescale

1/ /opt/freescale/pkgs.  This can be changed by changing the value
in .ltibrc. This directory is purely a place to cache downloads. This
area is common to all ltib installations.  It operates completely
independently of /opt/freescale/ltib.

This isn't really true. Try changing it to something that isn't $bdir/pkgs in a fresh ltib install. You'll get an error about creating the dir. We don't currently have a way to create the dir.

2/ /opt/freescale/ltib. To change this you need to change the value of
$bdir (~line 45 in ltib).

Right, I'm suggesting we make $bdir = /opt

Is this something you'd like to change for everyone or just something
for your own project? Personally as far as the public cvs goes I'd like
to keep it as /opt/freescale as this way it would keep it consistent
with BSPs that have been produced in iso format.  Moving it would mean
when they switch to external cvs they'd end up re-installing and
downloading a lot of stuff they already have.

I'll like this change for public cvs. I guess this goes to the intent of ltib. Is it a freescale specific project or intended for more generally use? For example if we provide support for a AMCC 4xx ppc will that be acceptable? If so I think having 'freescale' in dir names and such is bad form.

One other thing to watch out for, it's possible that the odd spec file
(or something else) has /opt/freescale hard wired into it (it
shouldn't).  So it's possible you may run into that.

Fair, when we run into these will fix them up.

- kumar

Regards, Stuart

On Fri, 2006-12-01 at 10:22 -0600, Kumar Gala wrote:

I'd like to change the ltib base dir from /opt/freescale to just /
opt.  Any concerns or issues?

- k

reply via email to

[Prev in Thread] Current Thread [Next in Thread]