From: "André Draszik" <git@andred.net>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 35/36] nativesdk.bbclass: add a /bin/sh RPROVIDES
Date: Wed, 15 Feb 2017 10:28:18 +0000 [thread overview]
Message-ID: <1487154498.2824.4.camel@andred.net> (raw)
In-Reply-To: <6d1f71de4f49b874be8f48b51d36967cbb4eaef4.1486997986.git.alexander.kanavin@linux.intel.com>
On Mon, 2017-02-13 at 17:06 +0200, Alexander Kanavin wrote:
> nativesdk-* rpm packages all require /bin/sh because postinst scriptlets
> are run with it. We can either teach rpm4 and dnf to ignore that
> dependency
> (a lot of non-upstreamable work), or add auto-satisfy the dependency
> in each package. I've chosen to do the latter.
Shouldn't there be a package that actually RPROVIDES /bin/sh, rather than
having to add a fake RPROVIDES?
Alternatively, shouldn't this be added to package_rpm.bbclass instead?
Cheers,
Andre'
>
> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
> ---
> meta/classes/nativesdk.bbclass | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta/classes/nativesdk.bbclass
> b/meta/classes/nativesdk.bbclass
> index a97f5a7114d..a050fe548ff 100644
> --- a/meta/classes/nativesdk.bbclass
> +++ b/meta/classes/nativesdk.bbclass
> @@ -97,3 +97,7 @@ do_packagedata[stamp-extra-info] = ""
> USE_NLS = "${SDKUSE_NLS}"
>
> OLDEST_KERNEL = "${SDK_OLDEST_KERNEL}"
> +
> +python populate_packages_prepend() {
> + d.appendVar(d.expand('RPROVIDES_${PN}'), ' /bin/sh')
> +}
> --
> 2.11.0
>
next prev parent reply other threads:[~2017-02-15 10:28 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-13 15:05 [PATCH 00/36] Replace Smart package manager with DNF package manager Alexander Kanavin
2017-02-13 15:05 ` [PATCH 01/36] gpgme: allow building -native variant Alexander Kanavin
2017-02-13 15:05 ` [PATCH 02/36] package.bbclass: fix locations of debugedit and rpmdeps utilities Alexander Kanavin
2017-02-13 15:05 ` [PATCH 03/36] libsolv: enable rpm support Alexander Kanavin
2017-02-13 15:05 ` [PATCH 04/36] rpmresolve: remove the recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 05/36] createrepo-c: add a recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 06/36] createrepo: remove the recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 07/36] rpm: add a 4.x recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 08/36] rpm: remove 5.x recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 09/36] python-pygpgme: add a recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 10/36] python-iniparse: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 11/36] python-backports-lzma: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 12/36] librepo: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 13/36] libcomps: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 14/36] libdnf: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 15/36] dnf: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 16/36] python-smartpm: remove the recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 17/36] db: remove the 6.x recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 18/36] package_rpm.bbclass: make architecture-independent .rpm packages "noarch" instead of "all" Alexander Kanavin
2017-02-13 15:05 ` [PATCH 19/36] package_manager.py: improve the API for insert_feed_uris() Alexander Kanavin
2017-02-13 15:05 ` [PATCH 20/36] package_rpm.bbclass: correctly map RRECOMMENDS and RSUGGESTS to rpm tags Alexander Kanavin
2017-02-13 15:05 ` [PATCH 21/36] nativesdk-packagegroup-sdk-host: replace smartpm with dnf Alexander Kanavin
2017-02-13 15:05 ` [PATCH 22/36] package.bbclass: add support for pkg_postinst_ontarget() Alexander Kanavin
2017-02-15 8:17 ` Anders Darander
2017-02-15 9:01 ` Alexander Kanavin
2017-02-15 9:10 ` Anders Darander
2017-02-15 9:19 ` Alexander Kanavin
2017-02-13 15:05 ` [PATCH 23/36] rootfs_rpm.bbclass: migrate image creation to dnf Alexander Kanavin
2017-02-15 11:18 ` André Draszik
2017-02-15 11:44 ` Alexander Kanavin
2017-02-13 15:05 ` [PATCH 24/36] scripts/rpm2cpio.sh: replace 5.x version with 4.x version Alexander Kanavin
2017-02-13 15:05 ` [PATCH 25/36] scripts/oe-setup-rpmrepo: replace createrepo with createrepo_c Alexander Kanavin
2017-02-13 15:05 ` [PATCH 26/36] package_rpm.bbclass: replace createrepo reference " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 27/36] package_rpm.bbclass: prevent rpm from using sysroot paths that it was originally compiled with Alexander Kanavin
2017-02-13 15:05 ` [PATCH 28/36] testimage.bbclass: fix runtime test for rpm, port smart tests to dnf Alexander Kanavin
2017-02-13 15:05 ` [PATCH 29/36] package_rpm.bbclass: instruct rpm to not remove the buildroot directory Alexander Kanavin
2017-02-13 15:06 ` [PATCH 30/36] selftest: do not perform a full build in test_continue Alexander Kanavin
2017-02-13 15:36 ` Burton, Ross
2017-02-13 16:02 ` Alexander Kanavin
2017-02-13 16:03 ` Burton, Ross
2017-02-13 15:06 ` [PATCH 31/36] image.bbclass: do not uninstall update-alternatives from readonly rootfs Alexander Kanavin
2017-02-15 10:12 ` André Draszik
2017-02-13 15:06 ` [PATCH 32/36] selftest: allow bitbake to fail in test_options_warnqa_errorqa_switch Alexander Kanavin
2017-02-13 15:06 ` [PATCH 33/36] ossp-uuid: remove the recipe Alexander Kanavin
2017-02-13 15:06 ` [PATCH 34/36] byacc: " Alexander Kanavin
2017-02-13 15:06 ` [PATCH 35/36] nativesdk.bbclass: add a /bin/sh RPROVIDES Alexander Kanavin
2017-02-15 10:28 ` André Draszik [this message]
2017-02-15 11:38 ` Alexander Kanavin
2017-02-13 15:06 ` [PATCH 36/36] package_deb.bbclass: Ignore file paths in RPROVIDES Alexander Kanavin
2017-02-15 10:36 ` André Draszik
2017-02-15 10:51 ` avalluri
2017-02-15 11:21 ` André Draszik
2017-02-13 16:27 ` [PATCH 00/36] Replace Smart package manager with DNF package manager Alexander Kanavin
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=1487154498.2824.4.camel@andred.net \
--to=git@andred.net \
--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