Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Paul Barker <paul@paulbarker.me.uk>
Cc: OE Core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/8] opkg-arch-config: Renamed from opkg-config-base
Date: Mon, 22 Dec 2014 12:05:41 +0100	[thread overview]
Message-ID: <20141222110541.GB2465@jama> (raw)
In-Reply-To: <1419199917-27913-3-git-send-email-paul@paulbarker.me.uk>

[-- Attachment #1: Type: text/plain, Size: 2986 bytes --]

On Sun, Dec 21, 2014 at 10:11:51PM +0000, Paul Barker wrote:
> The name 'opkg-arch-config' is much more descriptive.
> 
> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
> ---
>  meta/conf/layer.conf                                                   | 2 +-
>  .../opkg/{opkg-config-base_1.0.bb => opkg-arch-config_1.0.bb}          | 3 ++-
>  meta/recipes-devtools/opkg/opkg.inc                                    | 2 +-
>  3 files changed, 4 insertions(+), 3 deletions(-)
>  rename meta/recipes-devtools/opkg/{opkg-config-base_1.0.bb => opkg-arch-config_1.0.bb} (87%)
> 
> diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
> index de96548..4fd3a16 100644
> --- a/meta/conf/layer.conf
> +++ b/meta/conf/layer.conf
> @@ -18,7 +18,7 @@ COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'
>  SIGGEN_EXCLUDERECIPES_ABISAFE += " \
>    sysvinit-inittab \
>    shadow-securetty \
> -  opkg-config-base \
> +  opkg-arch-config \
>    netbase \
>    init-ifupdown \
>    connman-conf \
> diff --git a/meta/recipes-devtools/opkg/opkg-config-base_1.0.bb b/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
> similarity index 87%
> rename from meta/recipes-devtools/opkg/opkg-config-base_1.0.bb
> rename to meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
> index acbe129..f700865 100644
> --- a/meta/recipes-devtools/opkg/opkg-config-base_1.0.bb
> +++ b/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
> @@ -1,4 +1,4 @@
> -SUMMARY = "Base configuration files for opkg"
> +SUMMARY = "Architecture-dependent configuration for opkg"
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
> @@ -28,3 +28,4 @@ FILES_${PN} = "${sysconfdir}/opkg/ "
>  
>  CONFFILES_${PN} += "${sysconfdir}/opkg/arch.conf"
>  
> +RREPLACES_${PN} = "opkg-config-base"

Is this enough for opkg to automatically replace opkg-config-base with
opkg-arch-config during opkg upgrade?

With older opkg releases you always had to use whole combo
RPROVIDES+RREPLACES+RCONFLICTS.

> diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
> index 56c54b6..991c114 100644
> --- a/meta/recipes-devtools/opkg/opkg.inc
> +++ b/meta/recipes-devtools/opkg/opkg.inc
> @@ -38,7 +38,7 @@ EXTRA_OECONF = "\
>    --with-opkglibdir=${OPKGLIBDIR} \
>  "
>  
> -RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base run-postinsts"
> +RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config run-postinsts"
>  RDEPENDS_${PN}_class-native = ""
>  RDEPENDS_${PN}_class-nativesdk = ""
>  RREPLACES_${PN} = "opkg-nogpg"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2014-12-22 11:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-21 22:11 [PATCH 0/8] opkg recipe improvements Paul Barker
2014-12-21 22:11 ` [PATCH 1/8] opkg-collateral: Use new lists_dir syntax Paul Barker
2014-12-21 22:11 ` [PATCH 2/8] opkg-arch-config: Renamed from opkg-config-base Paul Barker
2014-12-22 11:05   ` Martin Jansa [this message]
2014-12-22 11:58     ` Paul Barker
2014-12-21 22:11 ` [PATCH 3/8] opkg-collateral: Simplify source files Paul Barker
2014-12-21 22:11 ` [PATCH 4/8] opkg: Merge opkg.inc into recipe and tidy up Paul Barker
2014-12-21 22:11 ` [PATCH 5/8] opkg: Merge in opkg-collateral Paul Barker
2014-12-21 22:11 ` [PATCH 6/8] poky-feed-config-opkg: Remove Paul Barker
2014-12-21 22:11 ` [PATCH 7/8] opkg: Backport improvements to opkg-key Paul Barker
2014-12-21 22:11 ` [PATCH 8/8] opkg-keyrings: New recipe Paul Barker

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=20141222110541.GB2465@jama \
    --to=martin.jansa@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox