All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Zanussi <tom.zanussi@intel.com>
To: nitin.a.kamble@intel.com
Cc: yocto@yoctoproject.org, darren.hart@intel.com
Subject: Re: [PATCH 1/2] emgd-driver-bin: Fix package naming issue
Date: Thu, 20 Sep 2012 16:34:59 -0500	[thread overview]
Message-ID: <1348176899.32247.40.camel@empanada> (raw)
In-Reply-To: <849041c84291bc274805ae375232e7d2eecbd0e7.1347834237.git.nitin.a.kamble@intel.com>

On Sun, 2012-09-16 at 15:27 -0700, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> emgd-driver-bin is generating rpm package with name libegl1.
> This name clashes with a package with sanme name from mesa-dri
> recipe. This name clash blocks installation of emgd user land
> binaries in the image. And due to missing emgd user land
> components X fails to start on BSPs like crownbay.
> 
> Fix this problem by specifying package names in the recipe with the
> PKG_ vars.
> 
> This fixes bug: [YOCTO #3063]

OK, I was finally able to get a build that had X working and was able to
test this and pull it into meta-intel/master.

Thanks,

Tom

> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
>  .../xorg-driver/emgd-driver-bin_1.14.bb            |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)
> 
> diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb
> index b1ba1b8..2464c38 100644
> --- a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb
> +++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb
> @@ -7,7 +7,7 @@ to LICENSE_FLAGS_WHITELIST += \"License_emgd-driver-bin_1.14\" to your \
>  local.conf in order to enable it in a build."
>  LICENSE = "Intel-binary-only"
>  LICENSE_FLAGS = "license_${PN}_${PV}"
> -PR = "r1"
> +PR = "r2"
>  
>  EMGD_LIC_DIR = "IEMGD_HEAD_Linux/License"
>  EMGD_RPM_DIR = "IEMGD_HEAD_Linux/MeeGo1.2"
> @@ -23,6 +23,12 @@ SRC_URI = "https://edc.intel.com/Download.aspx?id=6190;downloadfilename=LIN_IEMG
>  SRC_URI[md5sum] = "733a7f237ffce21238ce2c9956df4fd6"
>  SRC_URI[sha256sum] = "bcdc333b5edbda7c746a83ef821ded4a0ca55ead30980e4e3680cdb6469f45a2"
>  
> +# make sure generated rpm packages get non conflicting names
> +PKG_${PN} = "emgd-driver"
> +PKG_${PN}-dev = "emgd-driver-dev"
> +PKG_${PN}-dbg = "emgd-driver-dbg"
> +PKG_${PN}-doc = "emgd-driver-doc"
> +
>  # These are closed binaries generated elsewhere so don't check ldflags
>  INSANE_SKIP_${PN} = "ldflags"
>  




  reply	other threads:[~2012-09-20 21:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-16 22:27 [PATCH 0/2] emgd recipe misc fixes nitin.a.kamble
2012-09-16 22:27 ` [PATCH 1/2] emgd-driver-bin: Fix package naming issue nitin.a.kamble
2012-09-20 21:34   ` Tom Zanussi [this message]
2012-09-16 22:27 ` [PATCH 2/2] emgd-driver-bin: avoid rebuilding issue of the recipe nitin.a.kamble
2012-09-18 22:53   ` Darren Hart
2012-09-18 22:30 ` [PATCH 0/2] emgd recipe misc fixes Tom Zanussi

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=1348176899.32247.40.camel@empanada \
    --to=tom.zanussi@intel.com \
    --cc=darren.hart@intel.com \
    --cc=nitin.a.kamble@intel.com \
    --cc=yocto@yoctoproject.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 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.