All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] emgd recipe misc fixes
@ 2012-09-16 22:27 nitin.a.kamble
  2012-09-16 22:27 ` [PATCH 1/2] emgd-driver-bin: Fix package naming issue nitin.a.kamble
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: nitin.a.kamble @ 2012-09-16 22:27 UTC (permalink / raw)
  To: yocto, tom.zanussi, darren.hart

From: Nitin A Kamble <nitin.a.kamble@intel.com>

Here are the fixes related to the emgd recipe. These are verified with crownbay BSP with the latest master branches.

Thanks,
Nitin

The following changes since commit 574d10a3a2040ff685b74f9d4034f045d0191e5b:

  meta-intel: move emgd-driver-bin_1.14 to xorg-driver/ (2012-09-15 15:02:43 -0500)

are available in the git repository at:
  git://git.yoctoproject.org/meta-intel-contrib nitin/work
  http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=nitin/work

Nitin A Kamble (2):
  emgd-driver-bin: Fix package naming issue
  emgd-driver-bin: avoid rebuilding issue of the recipe

 .../xorg-driver/emgd-driver-bin_1.14.bb            |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

-- 
1.7.3.4



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] emgd-driver-bin: Fix package naming issue
  2012-09-16 22:27 [PATCH 0/2] emgd recipe misc fixes nitin.a.kamble
@ 2012-09-16 22:27 ` nitin.a.kamble
  2012-09-20 21:34   ` Tom Zanussi
  2012-09-16 22:27 ` [PATCH 2/2] emgd-driver-bin: avoid rebuilding issue of the recipe nitin.a.kamble
  2012-09-18 22:30 ` [PATCH 0/2] emgd recipe misc fixes Tom Zanussi
  2 siblings, 1 reply; 6+ messages in thread
From: nitin.a.kamble @ 2012-09-16 22:27 UTC (permalink / raw)
  To: yocto, tom.zanussi, darren.hart

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]

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"
 
-- 
1.7.3.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] emgd-driver-bin: avoid rebuilding issue of the recipe
  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-16 22:27 ` nitin.a.kamble
  2012-09-18 22:53   ` Darren Hart
  2012-09-18 22:30 ` [PATCH 0/2] emgd recipe misc fixes Tom Zanussi
  2 siblings, 1 reply; 6+ messages in thread
From: nitin.a.kamble @ 2012-09-16 22:27 UTC (permalink / raw)
  To: yocto, tom.zanussi, darren.hart

From: Nitin A Kamble <nitin.a.kamble@intel.com>

This avoids errors like this:
| cpio: ./usr/lib/libgstvabuffer.so.0 not created: newer or same age version exists
| install: cannot stat `/srv/home/nitin/builds/build-crownbay/tmp/work/core2-poky-linux/emgd-driver-bin-1.14-r2/IEMGD_HEAD_Linux/MeeGo1.2/usr/lib/libGLES_CM.so': No such file or directory

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 .../xorg-driver/emgd-driver-bin_1.14.bb            |    5 ++++-
 1 files changed, 4 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 2464c38..6ea6278 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 = "r2"
+PR = "r3"
 
 EMGD_LIC_DIR = "IEMGD_HEAD_Linux/License"
 EMGD_RPM_DIR = "IEMGD_HEAD_Linux/MeeGo1.2"
@@ -38,6 +38,9 @@ FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug ${libdir}/dri/.debug $
 S = "${WORKDIR}/${EMGD_RPM_DIR}"
 
 do_install () {
+    # cleanup previous files if any
+    rm -rf usr 
+
     # A gstreamer VA buffer library
     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/gst-vabuffer*.rpm | cpio -id
 
-- 
1.7.3.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] emgd recipe misc fixes
  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-16 22:27 ` [PATCH 2/2] emgd-driver-bin: avoid rebuilding issue of the recipe nitin.a.kamble
@ 2012-09-18 22:30 ` Tom Zanussi
  2 siblings, 0 replies; 6+ messages in thread
From: Tom Zanussi @ 2012-09-18 22:30 UTC (permalink / raw)
  To: nitin.a.kamble; +Cc: yocto, darren.hart

On Sun, 2012-09-16 at 15:27 -0700, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> Here are the fixes related to the emgd recipe. These are verified with crownbay BSP with the latest master branches.
> 

Sorry, but I'm still not able to verify this with the latest poky and
meta-intel master (no X due to missing /usr/bin/Xorg).

poky/master: 913944d904266bf90af0cad94b4f0fb3652bd29d
meta-intel/master: 574d10a3a2040ff685b74f9d4034f045d0191e5b

Tom

> Thanks,
> Nitin
> 
> The following changes since commit 574d10a3a2040ff685b74f9d4034f045d0191e5b:
> 
>   meta-intel: move emgd-driver-bin_1.14 to xorg-driver/ (2012-09-15 15:02:43 -0500)
> 
> are available in the git repository at:
>   git://git.yoctoproject.org/meta-intel-contrib nitin/work
>   http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=nitin/work
> 
> Nitin A Kamble (2):
>   emgd-driver-bin: Fix package naming issue
>   emgd-driver-bin: avoid rebuilding issue of the recipe
> 
>  .../xorg-driver/emgd-driver-bin_1.14.bb            |   11 ++++++++++-
>  1 files changed, 10 insertions(+), 1 deletions(-)
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] emgd-driver-bin: avoid rebuilding issue of the recipe
  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
  0 siblings, 0 replies; 6+ messages in thread
From: Darren Hart @ 2012-09-18 22:53 UTC (permalink / raw)
  To: nitin.a.kamble; +Cc: yocto

On 09/16/2012 03:27 PM, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> This avoids errors like this:
> | cpio: ./usr/lib/libgstvabuffer.so.0 not created: newer or same age version exists
> | install: cannot stat `/srv/home/nitin/builds/build-crownbay/tmp/work/core2-poky-linux/emgd-driver-bin-1.14-r2/IEMGD_HEAD_Linux/MeeGo1.2/usr/lib/libGLES_CM.so': No such file or directory
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
>  .../xorg-driver/emgd-driver-bin_1.14.bb            |    5 ++++-
>  1 files changed, 4 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 2464c38..6ea6278 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 = "r2"
> +PR = "r3"
>  
>  EMGD_LIC_DIR = "IEMGD_HEAD_Linux/License"
>  EMGD_RPM_DIR = "IEMGD_HEAD_Linux/MeeGo1.2"
> @@ -38,6 +38,9 @@ FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug ${libdir}/dri/.debug $
>  S = "${WORKDIR}/${EMGD_RPM_DIR}"
>  
>  do_install () {
> +    # cleanup previous files if any
> +    rm -rf usr 
> +

This looks like a hack. If nothing has changed, this shouldn't be an
issue. If something has changed, we should triggering a new build
anyway. What's actually going on here?

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] emgd-driver-bin: Fix package naming issue
  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
  0 siblings, 0 replies; 6+ messages in thread
From: Tom Zanussi @ 2012-09-20 21:34 UTC (permalink / raw)
  To: nitin.a.kamble; +Cc: yocto, darren.hart

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"
>  




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-20 21:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.