summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-10-16 10:32:15 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2015-01-09 09:23:09 -0800
commit096c750580b67573ad93c7dc395a4695ec382e9c (patch)
treec9bb102dbed65c5a1593e3e8b588c59630c20edf
parent47520b10e68d3c9d6b670320cf0dfb77221e89c0 (diff)
downloadtizen-distro-096c750580b67573ad93c7dc395a4695ec382e9c.tar.gz
tizen-distro-096c750580b67573ad93c7dc395a4695ec382e9c.tar.bz2
tizen-distro-096c750580b67573ad93c7dc395a4695ec382e9c.zip
meta-tizen: Fix path fo pkgmgr tool
Change-Id: I894e2aa1cc5c9c727e742f39157260bff5d3332b (From meta-tizen rev: 7b5d79f11fcd5cd968aa7727052c803931ab376a) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
-rw-r--r--meta-tizen/recipes-tizen/pkgmgr/pkgmgr-extraconf.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-tizen/recipes-tizen/pkgmgr/pkgmgr-extraconf.inc b/meta-tizen/recipes-tizen/pkgmgr/pkgmgr-extraconf.inc
index 2ce18d437a..af4bdd502e 100644
--- a/meta-tizen/recipes-tizen/pkgmgr/pkgmgr-extraconf.inc
+++ b/meta-tizen/recipes-tizen/pkgmgr/pkgmgr-extraconf.inc
@@ -1,6 +1,10 @@
SRC_URI += "file://Add_extralib.diff"
SRC_URI_append_class-native = " file://remove-dlog-for-native-build.patch"
+do_compile_prepend_class-native() {
+ sed -i "s@"/usr/bin/pkginfo@"${STAGING_BINDIR_NATIVE}/pkginfo@g" ${S}/tool/pkg_initdb.c
+}
+
do_install_append() {
rm -fr "${D}${prefix}/bin/pkgcmd.real"
rm -fr "${D}${prefix}/bin/pkgcmd.wrapper"