All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Brian Hutchinson <b.hutchman@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: How to get opkg in rootfilesystem
Date: Thu, 26 Jan 2012 16:47:37 +0000	[thread overview]
Message-ID: <1631142.4mMYpoiV90@helios> (raw)
In-Reply-To: <CAFZh4h-5m535Uod4=7hYmZzhRaqM8LtpHw1bfE0CQdXPdpFz7A@mail.gmail.com>

On Thursday 26 January 2012 11:36:31 Brian Hutchinson wrote:
> Update,
> 
> I'm still not doing something right.  I did a clean rebuild of
> core-image-base and a tar jtvf core-image-base-beagleboard.tar.bz2
> reveals opkg stuff in /var/lib/opkg only.  No opkg bin.
> 
> I guess I'm still in shock over this.  I mean why should I have to do
> anything other than:
> PACKAGE_CLASSES ?= "package_ipk"
> 
> I mean, if I specify I want package_ipk in the "Package Management
> configuration" section, doesn't logic follow that the image would be
> created with opkg and some sample opkg.conf files?  What use is it to
> generate all those .ipk's for the repository the build does without
> opkg being there?

Not necessarily. The way our rootfs construction works, it has to be done via 
some package management backend, but many people don't want/need it in their 
final image. FYI some image recipes default to adding the package-management 
feature but core-image-base clearly does not.

It's actually easier to enable this than Khem suggested, however. The default 
Yocto local.conf contains a line that sets EXTRA_IMAGE_FEATURES - just add 
package-management within this, and you'll get package management in your 
image. (FYI the reason his example probably didn't work when you tried it is I 
think you may have left out the initial space - the list is space-separated 
and _append does not add a space beforehand.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  parent reply	other threads:[~2012-01-26 16:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26  4:51 How to get opkg in rootfilesystem Brian Hutchinson
2012-01-26  5:51 ` Khem Raj
2012-01-26 16:03   ` Brian Hutchinson
2012-01-26 16:36 ` Brian Hutchinson
2012-01-26 16:39   ` Khem Raj
2012-01-26 16:46     ` Brian Hutchinson
2012-01-26 16:47   ` Paul Eggleton [this message]
2012-01-26 16:47   ` Gary Thomas
2012-01-26 18:53     ` Brian Hutchinson
2012-01-26 20:06       ` Khem Raj

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=1631142.4mMYpoiV90@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=b.hutchman@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.