Re: [yocto] Using smart within an SDK

2015-05-26 Thread Ash Charles
On Tue, May 26, 2015 at 4:04 PM, Randy Witt wrote: > It is a bit of a different workflow than we were initially looking at, but I > don't see a reason we couldn't do it. The locked signatures file should be > able to be a superset of items you would want, so theoretically if you only > wanted item

Re: [yocto] Using smart within an SDK

2015-05-26 Thread Randy Witt
On 05/26/2015 03:38 PM, Ash Charles wrote: On Tue, May 26, 2015 at 3:18 PM, Randy Witt wrote: Did you source the environment-setup script? If so, what distro were you using? Ubuntu 15.04 (Vivid-Vervet). I used an SDK created based on the gumstix-console-image rather than a mainstream image fr

Re: [yocto] Using smart within an SDK

2015-05-26 Thread Ash Charles
On Tue, May 26, 2015 at 3:18 PM, Randy Witt wrote: > Did you source the environment-setup script? If so, what distro were you > using? Ubuntu 15.04 (Vivid-Vervet). I used an SDK created based on the gumstix-console-image rather than a mainstream image from meta-yocto so perhaps there is a particu

Re: [yocto] Using smart within an SDK

2015-05-26 Thread Randy Witt
On 05/22/2015 03:24 PM, Ash Charles wrote: On Mon, May 18, 2015 at 10:13 PM, wrote: The idea is that an sdk will comprise of a manifest(contains list of sstate items in the sdk) and some location that contains the items in the manifest. So to update the sdk you would run a command and give it

Re: [yocto] Using smart within an SDK

2015-05-22 Thread Ash Charles
On Mon, May 18, 2015 at 10:13 PM, wrote: > The idea is that an sdk will comprise of a manifest(contains list of > sstate items in the sdk) and some location that contains the items in the > manifest. So to update the sdk you would run a command and give it the > location of the manifest and sstat

Re: [yocto] Using smart within an SDK

2015-05-18 Thread randy . e . witt
> On Thu, May 14, 2015 at 7:54 PM, ChenQi wrote: >> The rpm database is not usable. You do a query to list files that a >> package >> installed and you will find all the paths are not correct. > Ah okay---that makes sense. Thanks. >> >> We are now working a new kind of SDK in OE. We call it exten

Re: [yocto] Using smart within an SDK

2015-05-18 Thread Ash Charles
On Thu, May 14, 2015 at 7:54 PM, ChenQi wrote: > The rpm database is not usable. You do a query to list files that a package > installed and you will find all the paths are not correct. Ah okay---that makes sense. Thanks. > > We are now working a new kind of SDK in OE. We call it extensible SDK.

Re: [yocto] Using smart within an SDK

2015-05-14 Thread ChenQi
On 05/15/2015 02:21 AM, Ash Charles wrote: On Wed, May 13, 2015 at 7:26 PM, ChenQi wrote: 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 targe

Re: [yocto] Using smart within an SDK

2015-05-14 Thread Ash Charles
On Wed, May 13, 2015 at 7:26 PM, ChenQi wrote: > 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 installatio

Re: [yocto] Using smart within an SDK

2015-05-13 Thread ChenQi
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 usa

[yocto] Using smart within an SDK

2015-05-13 Thread Ash Charles
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