All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongxu Jia <hongxu.jia@windriver.com>
To: <openembedded-core@lists.openembedded.org>, <ross.burton@intel.com>
Subject: [PATCH 0/4] add variable INSTALL_ALL to install all packages in recipes
Date: Wed, 7 Jan 2015 15:06:48 +0800	[thread overview]
Message-ID: <cover.1420613743.git.hongxu.jia@windriver.com> (raw)

Test Steps:

Install busybox and lib32-python3 to core-image-minimal,
and also install all available packages of recipes busybox
and python3.

1. vim local.conf
...
MACHINE ?= "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = " busybox lib32-python3"
INSTALL_ALL_busybox ?= "1" 
INSTALL_ALL_lib32-python3 ?= "1"
...

2. Build core-image-minimal
$ bitbake core-image-minimal

3. Check installed_pkgs.txt, all available packages of recipes busybox and
lib32-python3 have been installed.
...
$ cat tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/installed_pkgs.txt
...
busybox core2-64
busybox-hwclock core2-64
busybox-syslog core2-64
busybox-udhcpc core2-64
busybox-udhcpd core2-64
...

4. Edit local.conf to assign INSTALL_ALL_busybox ?= "0"

5. build core-image-minimal

6. Check installed_pkgs.txt, busybox-udhcpd not installed
...
$ cat tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/installed_pkgs.txt
...
busybox core2-64
busybox-hwclock core2-64
busybox-syslog core2-64
busybox-udhcpc core2-64
...

//Hongxu

The following changes since commit bfe7d3032a61a20010b5b758be07581e1bf01cba:

  gstreamer1.0-omx: use mulitple SCMs to fetch submodules (2014-12-31 17:04:52 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib hongxu/install-all
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/install-all

Hongxu Jia (4):
  scripts/oe-pkgdata-util: support rprovides for lookup-recipe
  scripts/oe-pkgdata-util: add ability to list all produced packages
    from a recipe
  python3: avoid debian renaming for libpython3
  manifest.py/image.bbclass: add var-INSTALL_ALL to install all packages
    of a recipes.

 meta/classes/image.bbclass                    |  19 ++++-
 meta/lib/oe/manifest.py                       |  56 +++++++++++++-
 meta/recipes-devtools/python/python3_3.3.3.bb |   2 +
 scripts/oe-pkgdata-util                       | 101 +++++++++++++++++++++++++-
 4 files changed, 174 insertions(+), 4 deletions(-)

-- 
1.9.1



             reply	other threads:[~2015-01-07  7:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-07  7:06 Hongxu Jia [this message]
2015-01-07  7:06 ` [PATCH 1/4] scripts/oe-pkgdata-util: support rprovides for lookup-recipe Hongxu Jia
2015-01-07  7:06 ` [PATCH 2/4] scripts/oe-pkgdata-util: add ability to list all produced packages from a recipe Hongxu Jia
2015-01-07  7:06 ` [PATCH 3/4] python3: avoid debian renaming for libpython3 Hongxu Jia
2015-01-07  7:06 ` [PATCH 4/4] manifest.py/image.bbclass: add var-INSTALL_ALL to install all packages of a recipes Hongxu Jia
2015-01-07 23:54 ` [PATCH 0/4] add variable INSTALL_ALL to install all packages in recipes Richard Purdie
2015-01-08  2:27   ` Hongxu Jia
2015-01-08 11:55     ` Otavio Salvador
2015-01-08 12:06       ` Hongxu Jia
2015-01-08 12:10         ` Otavio Salvador

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=cover.1420613743.git.hongxu.jia@windriver.com \
    --to=hongxu.jia@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /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.