[oe] Question about package prefix

Paul Eggleton paul.eggleton at linux.intel.com
Wed Dec 28 10:10:06 UTC 2011


On Wednesday 28 December 2011 10:40:47 Giuseppe Condorelli wrote:
> any advices?
> Thanks again,
> Giuseppe
> 
> 2011/12/20 Giuseppe Condorelli <giuseppe.condorelli at gmail.com>
> > looking at the link Paul suggested me I cannot see anything that can be
> > address me to solve my problem.
> > The lone modification I can see here is the prefix, exec_prefix, etc...
> > setting inside micro.conf file, but this
> > is not good to help me.
> > I'm showing an example:
> > 
> > 1) imagine we have a package rpm, for example zlib
> > 2) rpm -qpli zlib.rpm (let me to call the package in this manner) will
> > show a list of the included files plus other info.
> > 
> >    All of those will have absolute path (/usr, etc...)
> > 
> > 3) What I need is to change this to a prefixed one (for example
> > /opt/test/distro/usr, etc...)
> > 4) I need this for all package in my distribution

So I'm not entirely sure I understand why this doesn't solve your problem. For 
your purposes you should have your own distro config file 
(conf/distro/distroname.conf) and set DISTRO = "distroname" in local.conf, and 
AFAICT then you should just need to set the *_prefix variables in the distro 
config as micro.conf does. You can look at classes/nativesdk.bbclass in OE-Core 
for another example of setting these prefixes.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-devel mailing list