[oe] [PATCH 2/2] libxml, rpm, zope: avoid generating native packages
Stefan Schmidt
stefan at datenfreihafen.org
Sat Nov 6 13:54:40 UTC 2010
Hello.
On Mon, 2009-11-23 at 14:17, Ricardo Salveti de Araujo wrote:
> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti at openbossa.org>
> ---
> recipes/libxml/libxml2-native.inc | 2 +-
> recipes/rpm/rpm-native_4.4.2.3.bb | 5 ++---
> recipes/zope/zope-native_3.3.1.bb | 2 +-
> 3 files changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/recipes/libxml/libxml2-native.inc b/recipes/libxml/libxml2-native.inc
> index 3f67152..395a3a9 100644
> --- a/recipes/libxml/libxml2-native.inc
> +++ b/recipes/libxml/libxml2-native.inc
> @@ -5,7 +5,7 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
> SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
> S = "${WORKDIR}/libxml2-${PV}"
>
> -inherit autotools native pkgconfig distutils-native-base
> +inherit autotools pkgconfig distutils-native-base native
>
> do_configure_prepend () {
> EXTRA_LIBXML2_OECONF="\
> diff --git a/recipes/rpm/rpm-native_4.4.2.3.bb b/recipes/rpm/rpm-native_4.4.2.3.bb
> index 3cfb43e..d27a392 100644
> --- a/recipes/rpm/rpm-native_4.4.2.3.bb
> +++ b/recipes/rpm/rpm-native_4.4.2.3.bb
> @@ -1,8 +1,7 @@
> -inherit native distutils-native-base
> -
> require rpm-${PV}.inc
>
> +inherit distutils-native-base native
> +
> DEPENDS = "beecrypt-native gettext-native zlib-native file-native popt-native python-native"
> -PACKAGES = ""
>
> export varprefix = "${localstatedir}"
> diff --git a/recipes/zope/zope-native_3.3.1.bb b/recipes/zope/zope-native_3.3.1.bb
> index cb0d690..a1c5eac 100644
> --- a/recipes/zope/zope-native_3.3.1.bb
> +++ b/recipes/zope/zope-native_3.3.1.bb
> @@ -1,4 +1,4 @@
> -inherit native distutils-native-base
> +inherit distutils-native-base native
So, you are sorting the inherit differently. How does this avoid generating
native packages? Is there some magic I don't understand?
regards
Stefan Schmidt
More information about the Openembedded-devel
mailing list