From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [RFC][PATCH] packagegroup.bbclass: Drop build-time dependencies
Date: Fri, 1 Nov 2013 13:12:12 +0100 [thread overview]
Message-ID: <1383307932-4041-1-git-send-email-Martin.Jansa@gmail.com> (raw)
* RFC because:
packagegroup.bbclass inherits allarch and by default sets
PACKAGE_ARCH = "all", but then it has runtime-dependency on
TUNE_PKGARCH packages and different signatures, so instead
of setting INHIBIT_DEFAULT_DEPS in addition to inherit allarch
I would like to drop default allarch completely.
* drop virtual/kernel dependency from packagegroup-core-boot
because kernel isn't needed to build packagegroup and building
it doesn't influence if it's included in image or not.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/classes/packagegroup.bbclass | 4 ++++
meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass
index 9bc9cc2..bd212fd 100644
--- a/meta/classes/packagegroup.bbclass
+++ b/meta/classes/packagegroup.bbclass
@@ -11,6 +11,10 @@ PACKAGES = "${PN}"
# need to be set to MACHINE_ARCH after inheriting packagegroup.bbclass
inherit allarch
+# allarch.bbclass does that only when PACKAGE_ARCH = "all",
+# but we don't want any build time dependencies even for MACHINE_ARCH packagegroups
+INHIBIT_DEFAULT_DEPS = "1"
+
# This automatically adds -dbg and -dev flavours of all PACKAGES
# to the list. Their dependencies (RRECOMMENDS) are handled as usual
# by package_depchains in a following step.
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
index 486385a..5455899 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -5,7 +5,6 @@
SUMMARY = "Minimal boot requirements"
DESCRIPTION = "The minimal set of packages required to boot the system"
LICENSE = "MIT"
-DEPENDS = "virtual/kernel"
PR = "r11"
inherit packagegroup
--
1.8.4.2
next reply other threads:[~2013-11-01 12:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-01 12:12 Martin Jansa [this message]
2013-11-01 13:37 ` [RFC][PATCH] packagegroup.bbclass: Drop build-time dependencies Paul Eggleton
2013-11-01 18:14 ` Richard Purdie
2013-11-01 19:06 ` Paul Eggleton
2013-11-17 13:52 ` [PATCH 1/7] allarch: Always inhibit default dependencies and set empty TARGET_PREFIX Martin Jansa
2013-11-17 13:52 ` [PATCH 2/7] packagegroup-core-boot: Drop build-time dependency on virtual/kernel Martin Jansa
2013-11-20 5:57 ` ChenQi
2013-11-17 13:52 ` [PATCH 3/7] xuser-account: Drop allarch inherit Martin Jansa
2013-11-17 13:52 ` [PATCH 4/7] linux-firmware: Drop allarch Martin Jansa
2013-11-18 10:57 ` Richard Purdie
2013-11-17 13:52 ` [PATCH 5/7] ppp-dialin: " Martin Jansa
2013-11-17 13:52 ` [PATCH 6/7] initramfs-framework: " Martin Jansa
2013-11-17 13:52 ` [PATCH 7/7] resolvconf: " Martin Jansa
2013-11-18 12:31 ` [PATCH 1/7] allarch: Always inhibit default dependencies and set empty TARGET_PREFIX Richard Purdie
2013-11-18 15:54 ` Martin Jansa
2013-11-18 15:58 ` Martin Jansa
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=1383307932-4041-1-git-send-email-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox