aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-07-27 16:32:28 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-08-01 14:37:40 +0900
commit45bd346eb436dd545efe852bf2429e5e467bcbf5 (patch)
tree511e3cb5fdfe9b3673f1c0ac2e1550ce84851b06
parentaa50a791a2c3e9c9f9306dde45f13ec2cba4e836 (diff)
downloadmeta-ivi-45bd346eb436dd545efe852bf2429e5e467bcbf5.tar.gz
meta-ivi-45bd346eb436dd545efe852bf2429e5e467bcbf5.tar.bz2
meta-ivi-45bd346eb436dd545efe852bf2429e5e467bcbf5.zip
dlt-daemon: build fix for git repository corruption
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
-rw-r--r--meta-ivi/recipes-extended/dlt-daemon/dlt-daemon/0005-Fix-OE-cmake-installation-dir.patch26
-rw-r--r--meta-ivi/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb9
2 files changed, 30 insertions, 5 deletions
diff --git a/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon/0005-Fix-OE-cmake-installation-dir.patch b/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon/0005-Fix-OE-cmake-installation-dir.patch
new file mode 100644
index 0000000..cbf049c
--- /dev/null
+++ b/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon/0005-Fix-OE-cmake-installation-dir.patch
@@ -0,0 +1,26 @@
+From 39a5c3136ee0f84e29fe3c8121b3b61142a8a76f Mon Sep 17 00:00:00 2001
+From: Clement Dransart <clement.dransart@awtce.be>
+Date: Tue, 7 Jun 2016 11:02:12 +0200
+Subject: [meta-ivi][PATCH] Fix OE cmake installation dir
+
+Signed-off-by: Clement Dransart <clement.dransart@awtce.be>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 46beec0..ad62848 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -112,7 +112,7 @@ ELSE (${WITH_DOC} STREQUAL "OFF")
+ SET(PACKAGE_DOC "")
+ ENDIF(${WITH_DOC} STREQUAL "OFF")
+
+-set(LIB_INSTALL_DIR lib${LIB_SUFFIX})
++set(LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR})
+
+ configure_file(${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.spec.in ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.spec)
+ configure_file(${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.pc.in ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.pc @ONLY)
+--
+1.9.1
+
diff --git a/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb b/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb
index d53d6f3..aedf3f5 100644
--- a/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb
+++ b/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb
@@ -15,15 +15,14 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=99ba60c3fad7eaf8c56bca6dd75cba09 \
DEPENDS = "dbus zlib"
-# FIX ME
-# This should be TAG = "v${PV}" but yocto doesn't support lightweight tags for now
-# https://bugzilla.yoctoproject.org/show_bug.cgi?id=6881
+PR = "r1"
SRCREV = "b8b3ea3a31f7deb681941a19878c82e7b7350ae7"
-SRC_URI = "git://git.projects.genivi.org/${PN}.git;branch=v2.11.x;protocol=http \
+SRC_URI = "git://git.projects.genivi.org/${BPN}.git;nobranch=1;protocol=http \
file://0001-Fix-build-with-systemd-209.patch \
file://0002-Don-t-execute-processes-as-a-specific-user.patch \
file://0003-systemd-unit-type-should-be-in-lowercase-so-use-Type.patch \
- file://0004-Modify-systemd-config-directory.patch"
+ file://0004-Modify-systemd-config-directory.patch \
+ file://0005-Fix-OE-cmake-installation-dir.patch"
S = "${WORKDIR}/git"
inherit gzipnative autotools gettext cmake systemd