From: "Steve Sakoman" <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][dunfell 05/25] package_tar.bbclass: Sync to the other package_* classes
Date: Sun, 30 Aug 2020 08:15:59 -1000 [thread overview]
Message-ID: <2ac25329fd2efbfdcc2b97948cdcb3402ee497e0.1598810890.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1598810890.git.steve@sakoman.com>
From: Mark Hatle <mark.hatle@kernel.crashing.org>
Sync up the anonymous python definition with the other package_*.bbclass
files. This should make future maintenance easier, even though it has
no difference in behavior from what was there.
Additional, there was a missing deltask in the nopackages.bbclass related
to the package_tar which has been corrected. This could cause problems on
native recipes when package_tar was enabled.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f87452942f6391a239b50e3f3f9fa100e74a78fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/nopackages.bbclass | 1 +
meta/classes/package_tar.bbclass | 6 ++----
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/meta/classes/nopackages.bbclass b/meta/classes/nopackages.bbclass
index 559f5078bd..7a4f632d71 100644
--- a/meta/classes/nopackages.bbclass
+++ b/meta/classes/nopackages.bbclass
@@ -2,6 +2,7 @@ deltask do_package
deltask do_package_write_rpm
deltask do_package_write_ipk
deltask do_package_write_deb
+deltask do_package_write_tar
deltask do_package_qa
deltask do_packagedata
deltask do_package_setscene
diff --git a/meta/classes/package_tar.bbclass b/meta/classes/package_tar.bbclass
index ce3ab4c8e2..d6c1b306fc 100644
--- a/meta/classes/package_tar.bbclass
+++ b/meta/classes/package_tar.bbclass
@@ -57,10 +57,8 @@ python do_package_tar () {
python () {
if d.getVar('PACKAGES') != '':
- deps = (d.getVarFlag('do_package_write_tar', 'depends') or "").split()
- deps.append('tar-native:do_populate_sysroot')
- deps.append('virtual/fakeroot-native:do_populate_sysroot')
- d.setVarFlag('do_package_write_tar', 'depends', " ".join(deps))
+ deps = ' tar-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot'
+ d.appendVarFlag('do_package_write_tar', 'depends', deps)
d.setVarFlag('do_package_write_tar', 'fakeroot', "1")
}
--
2.17.1
next prev parent reply other threads:[~2020-08-30 18:18 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-30 18:15 [OE-core][dunfell 00/25] Patch review Steve Sakoman
2020-08-30 18:15 ` [OE-core][dunfell 01/25] oeqa: runtime_tests: Extra GPG debugging Steve Sakoman
2020-08-30 18:15 ` [OE-core][dunfell 02/25] runqemu: Show an error for conflicting graphics options Steve Sakoman
2020-08-30 18:15 ` [OE-core][dunfell 03/25] oeqa/manual/bsp-hw.json : remove shutdown_system test Steve Sakoman
2020-08-30 18:15 ` [OE-core][dunfell 04/25] oeqa/manual/bsp-hw.json : remove X_server_can_start_up_with_runlevel_5_boot test Steve Sakoman
2020-08-30 18:15 ` Steve Sakoman [this message]
2020-08-30 18:16 ` [OE-core][dunfell 06/25] package.bbclass: Sort shlib2 output for hash equivalency Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 07/25] package.bbclass: explode the RPROVIDES so we don't think the versions are provides Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 08/25] image_types_wic: Add ASSUME_PROVIDED to WICVARS Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 09/25] devtool: expand SRC_URI when guessing recipe update mode Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 10/25] weston: add missing packageconfigs Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 11/25] gpgme: fix multilib header conflict Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 12/25] perf: backport a fix for confusing non-fatal error Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 13/25] bind: update to 9.11.22 ESV Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 14/25] bluez5: fix builds that require ell support Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 15/25] conf/machine: set UBOOT_MACHINE for qemumips and qemumips64 Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 16/25] multilib.conf: add u-boot to NON_MULTILIB_RECIPES Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 17/25] libubootenv: uprev to v0.3 Steve Sakoman
2020-09-09 13:26 ` Stefano Babic
2020-08-30 18:16 ` [OE-core][dunfell 18/25] libubootenv: inherit uboot-config Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 19/25] linux-yocto/5.4: update to v5.4.59 Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 20/25] linux-yocto/5.4: update to v5.4.60 Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 21/25] linux-yocto/5.4: update to v5.4.61 Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 22/25] kernel-yocto: checksum all modifications to available kernel fragments directories Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 23/25] kernel.bbclass: run do_symlink_kernsrc before do_patch Steve Sakoman
2020-09-12 1:40 ` Chanho Park
2020-09-12 19:10 ` Steve Sakoman
[not found] ` <16341EFF0D914A74.16354@lists.openembedded.org>
2020-09-16 15:18 ` Steve Sakoman
2020-09-21 8:58 ` Rasmus Villemoes
2020-08-30 18:16 ` [OE-core][dunfell 24/25] linux-firmware: upgrade 20200619 -> 20200721 Steve Sakoman
2020-08-30 18:16 ` [OE-core][dunfell 25/25] linux-firmware: update 20200721 -> 20200817 Steve Sakoman
2020-09-01 11:07 ` [OE-core][dunfell 00/25] Patch review Richard Purdie
2020-09-01 14:06 ` Steve Sakoman
2020-09-02 3:28 ` Christopher Clark
2020-09-02 14:52 ` Steve Sakoman
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=2ac25329fd2efbfdcc2b97948cdcb3402ee497e0.1598810890.git.steve@sakoman.com \
--to=steve@sakoman.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