[yocto] [PATCH 1/1] emgd-driver-bin: Fix package naming issue
nitin.a.kamble at intel.com
nitin.a.kamble at intel.com
Wed Sep 5 17:59:09 PDT 2012
From: Nitin A Kamble <nitin.a.kamble at intel.com>
emgd-driver-bin is generating rpm package with name libegl1.
This name clashes with a package of 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 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 at intel.com>
---
.../xorg-xserver/emgd-driver-bin_1.14.bb | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/common/recipes-graphics/xorg-xserver/emgd-driver-bin_1.14.bb b/common/recipes-graphics/xorg-xserver/emgd-driver-bin_1.14.bb
index b1ba1b8..1e01972 100644
--- a/common/recipes-graphics/xorg-xserver/emgd-driver-bin_1.14.bb
+++ b/common/recipes-graphics/xorg-xserver/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 geenrated 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
More information about the yocto
mailing list