From: ChenQi <Qi.Chen@windriver.com>
To: Ash Charles <ashcharles@gmail.com>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Using smart within an SDK
Date: Thu, 14 May 2015 10:26:01 +0800 [thread overview]
Message-ID: <555407B9.7040105@windriver.com> (raw)
In-Reply-To: <CAK8F28nH13quAv_8KqfEDnyua99mBYvLnBYej0ugC73dP5LX+A@mail.gmail.com>
Hi Ash,
SDK has basically two parts, nativesdk part and the target part.
For the nativesdk part, we can use smart/rpm to manage packages. A long
time ago, I tried this out and succeeded.
However, for the target part, we cannot do the same thing as the rpm
database for the target part is not usable after installation. I once
tried to solve this problem but failed.
You can have a little try and if you have some good news, let me know.
Best Regards,
Chen Qi
On 05/14/2015 08:51 AM, Ash Charles wrote:
> Hi,
>
> I'd like to be able install packages using smart within an SDK
> environment (much like [1]; @Erik, did you find a solution?).
>
> I stumbled on two questions in looking into this.
>
> 1. Why does the nativesdk version of smart get wrapped with these
> environment variables, 'RPM_USRLIBRPM', 'RPM_ETCRPM', and
> 'RPM_LOCALEDIRRPM'? As per [2], the RPM utilities themselves are
> already wrapped. It might be nice to specify the '--data-dir'
> argument to smart with a create_cmdline_wrapper instead.
>
> 2. Why does the smart configuration data get removed during SDK
> creation? In particular, the self.target_pm.remove_packaging_data
> line in meta/lib/oe/sdk.py.
>
> [1] https://lists.yoctoproject.org/pipermail/yocto/2015-March/024152.html
> [2] http://lists.openembedded.org/pipermail/openembedded-core/2012-December/071894.html
>
> Thanks for any advice!
> --Ash
next prev parent reply other threads:[~2015-05-14 2:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-14 0:51 Using smart within an SDK Ash Charles
2015-05-14 2:26 ` ChenQi [this message]
2015-05-14 18:21 ` Ash Charles
2015-05-15 2:54 ` ChenQi
2015-05-18 23:48 ` Ash Charles
2015-05-19 5:13 ` randy.e.witt
2015-05-22 22:24 ` Ash Charles
2015-05-26 22:18 ` Randy Witt
2015-05-26 22:38 ` Ash Charles
2015-05-26 23:04 ` Randy Witt
2015-05-26 23:30 ` Ash Charles
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=555407B9.7040105@windriver.com \
--to=qi.chen@windriver.com \
--cc=ashcharles@gmail.com \
--cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.