All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roberto" <ramatekd@gmail.com>
To: <yocto@yoctoproject.org>
Subject: How to install only a subset of the packages listed in a packagegroup?
Date: Tue, 3 Nov 2015 10:36:20 +1100	[thread overview]
Message-ID: <048a01d115c7$49d6e3b0$dd84ab10$@gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1360 bytes --]

Hi,

 

I have written the following packagegroup called packagegroup-amatek.bb for
testing purposes :

 

# Copyright (C) 2012-2013 Freescale Semiconductor

# Released under the MIT license (see COPYING.MIT for the terms)

 

DESCRIPTION = "Example package group"

LICENSE = "MIT"

LIC_FILES_CHKSUM =
"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \

 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

 

PR = "r5"

 

inherit packagegroup

 

PROVIDES = "${PACKAGES}"

PACKAGES += " \

   ${PN}-package1 \

    ${PN}-package2 \

"

 

 

RDEPENDS_${PN}-package1 = " \

   package1-depend1 \

"

 

RDEPENDS_${PN}-package2 = " \

   package2-depend2 \

"

 

 

PACKAGE_ARCH = "${MACHINE_ARCH}"

 

If in my custom image file (amatek-image) I include only
packagegroup-amatek-package1:

 

IMAGE_INSTALL = "packagegroup-amatek-package1"

 

I would expect that package2-depend2 is not installed because it is a
dependency of the package packagegroup-amatek-package2 which is not
installed.

 

However, bitbake amatek-image -g -u depexp shows that package2-depend2 is
installed as well:

 

 <http://i.stack.imgur.com/xRj1E.png> enter image description here

 

Is this the expected behaviour?

Regards,

Roberto


[-- Attachment #1.2: Type: text/html, Size: 16752 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 4537 bytes --]

             reply	other threads:[~2015-11-02 23:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-02 23:36 Roberto [this message]
2015-11-03  8:29 ` How to install only a subset of the packages listed in a packagegroup? Paul Eggleton

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='048a01d115c7$49d6e3b0$dd84ab10$@gmail.com' \
    --to=ramatekd@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.