From: Saul Wold <sgw@linux.intel.com>
To: Paul Barker <paul@paulbarker.me.uk>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/3] opkg: No longer PROVIDES update-alternatives
Date: Wed, 15 Jan 2014 07:12:20 -0800 [thread overview]
Message-ID: <52D6A554.2050705@linux.intel.com> (raw)
In-Reply-To: <1389752246-4296-4-git-send-email-paul@paulbarker.me.uk>
On 01/14/2014 06:17 PM, Paul Barker wrote:
> The new provider is the opkg-utils recipe.
>
This seems to have triggered a failure on the AB:
| Computing transaction...error: Can't install
nativesdk-shadow-4.1.4.3-r13@i686_nativesdk: no package provides
nativesdk-update-alternatives-opkg
Sau!
> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
> ---
> meta/recipes-devtools/opkg/opkg.inc | 12 +++---------
> 1 file changed, 3 insertions(+), 9 deletions(-)
>
> diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
> index c9fb505..527fe5d 100644
> --- a/meta/recipes-devtools/opkg/opkg.inc
> +++ b/meta/recipes-devtools/opkg/opkg.inc
> @@ -39,17 +39,13 @@ EXTRA_OECONF = "\
> --with-opkglibdir=${OPKGLIBDIR} \
> "
>
> -PROVIDES += "virtual/update-alternatives"
> -RPROVIDES_update-alternatives-cworth += "update-alternatives"
> -RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
> RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base"
> RDEPENDS_${PN}_class-native = ""
> RDEPENDS_${PN}_class-nativesdk = ""
> RREPLACES_${PN} = "opkg-nogpg"
>
> -PACKAGES =+ "libopkg-dev libopkg-staticdev libopkg update-alternatives-cworth"
> +PACKAGES =+ "libopkg-dev libopkg-staticdev libopkg"
>
> -FILES_update-alternatives-cworth = "${bindir}/update-alternatives"
> FILES_libopkg-dev = "${libdir}/*.la ${libdir}/*.so ${includedir}/libopkg"
> FILES_libopkg-staticdev = "${libdir}/*.a"
> FILES_libopkg = "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"
> @@ -74,10 +70,8 @@ do_install_append() {
> ln -sf opkg-cl ${D}${bindir}/opkg
> }
>
> -do_install_append_class-native() {
> - if [ "${PREFERRED_PROVIDER_virtual/update-alternatives-native}" != "${PN}" ]; then
> - rm ${D}${bindir}/update-alternatives
> - fi
> +do_install_append() {
> + rm ${D}${bindir}/update-alternatives
> }
>
> pkg_postinst_${PN} () {
>
next prev parent reply other threads:[~2014-01-15 15:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-15 2:17 [PATCH 0/3] Change update-alternatives provider Paul Barker
2014-01-15 2:17 ` [PATCH 1/3] opkg-utils: Upgrade to latest git HEAD Paul Barker
2014-01-15 10:04 ` Koen Kooi
2014-01-15 16:16 ` Paul Barker
2014-01-15 2:17 ` [PATCH 2/3] default-providers: Change update-alternatives provider to opkg-utils Paul Barker
2014-01-15 2:17 ` [PATCH 3/3] opkg: No longer PROVIDES update-alternatives Paul Barker
2014-01-15 15:12 ` Saul Wold [this message]
2014-01-15 16:13 ` Paul Barker
2014-01-15 17:05 ` Otavio Salvador
2014-01-15 22:37 ` Saul Wold
2014-01-16 13:30 ` Paul Barker
2014-01-15 11:21 ` [PATCH 0/3] Change update-alternatives provider 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=52D6A554.2050705@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul@paulbarker.me.uk \
/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.