Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Giuseppe Condorelli <giuseppe.condorelli@gmail.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: Question about package prefix
Date: Wed, 28 Dec 2011 10:10:06 +0000	[thread overview]
Message-ID: <10519823.CSrPkrPaVF@helios> (raw)
In-Reply-To: <CAOHjBZs+qDj-Rz-rMeMXrAPPDq2huA2cobNBv0cK7qncejMk-g@mail.gmail.com>

On Wednesday 28 December 2011 10:40:47 Giuseppe Condorelli wrote:
> any advices?
> Thanks again,
> Giuseppe
> 
> 2011/12/20 Giuseppe Condorelli <giuseppe.condorelli@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



  reply	other threads:[~2011-12-28 10:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-16  9:36 Question about package prefix Giuseppe Condorelli
2011-12-16 22:01 ` Khem Raj
2011-12-16 22:12   ` Giuseppe Condorelli
2011-12-16 22:23     ` Khem Raj
2011-12-16 22:35       ` Giuseppe Condorelli
2011-12-16 22:40         ` Paul Eggleton
2011-12-16 22:43           ` Giuseppe Condorelli
2011-12-20 13:42             ` Giuseppe Condorelli
2011-12-28  9:40               ` Giuseppe Condorelli
2011-12-28 10:10                 ` Paul Eggleton [this message]
2011-12-28 15:40                   ` Giuseppe Condorelli
2011-12-28 15:51                     ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10519823.CSrPkrPaVF@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=giuseppe.condorelli@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox