[poky] Using RPM with Poky

Gary Thomas gary at mlbassoc.com
Mon Mar 21 09:35:55 PDT 2011


On 03/21/2011 09:54 AM, Richard Purdie wrote:
> On Mon, 2011-03-21 at 09:25 -0600, Gary Thomas wrote:
>> I'm trying to do some testing with Poky on an atom-PC.  I thought
>> I'd try with a minimal system and then add pieces I need.  Sadly,
>> I've run aground doing this.  I've built a couple of images with
>> varying results:
>>     poky-image-minimal-live - boots on my box
>>     poky-image-sato-live - boots, but fails to find X display, then hangs (*)
>>
>> There seem to be no RPM tools on the minimal image.  Did I miss something?
>> On my old, ipk based system, I'd build up a minimal image then use opkg
>> to install additional packages.
>
> Minimal images were never meant to ship with the package manager and now
> don't. You can obviously change the image definitions easily enough as
> needed.
>
>>    How do I do that with the RPM based images?
>
> The same switch turns on/off the package manager data for rpm and opkg.

I tried adding this to local.conf, but nothing changed when I build minimal image:
   IMAGE_FEATURES += " package-management ssh-server-dropbear "

BTW, where is this documented?  Not in the Poky handbook from what I can tell.

Also, is there documentation on how to use zypper, how to set up repositories, etc?

>
>>   I've checked the documentation and there's basically nothing
>> about this, unless I looked in the wrong place.
>>
>> Any ideas or pointers gladly accepted.  Thanks
>>
>> (*) I had success with this in the past when I booted with MACHINE=emenlow
>> but that hardware isn't in the primary list.
>
> I'm not sure why this isn't working or what the problem might be...

It complains it can't find /dev/fb0.  See the boot log at http://www.mlbassoc.com/poky/boot_2011-03-21.log

>
> You didn't mention which branch this is with btw.

master aeaa356a5ee77b4596c479451a9db289381a4d16

Thanks again

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list