summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-10-16 10:32:15 +0200
committerRonan Le Martret <ronan@fridu.net>2014-10-16 10:32:15 +0200
commit7b5d79f11fcd5cd968aa7727052c803931ab376a (patch)
tree8b8d70a84ca267766340d6447235036f4deaf710
parent87cc22d4c5b954e54d88cfc40761e2904da3e38e (diff)
downloadmeta-tizen-7b5d79f11fcd5cd968aa7727052c803931ab376a.tar.gz
meta-tizen-7b5d79f11fcd5cd968aa7727052c803931ab376a.tar.bz2
meta-tizen-7b5d79f11fcd5cd968aa7727052c803931ab376a.zip
Fix path fo pkgmgr tool
Change-Id: I894e2aa1cc5c9c727e742f39157260bff5d3332b
-rw-r--r--recipes-tizen/pkgmgr/pkgmgr-extraconf.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-tizen/pkgmgr/pkgmgr-extraconf.inc b/recipes-tizen/pkgmgr/pkgmgr-extraconf.inc
index 2ce18d43..af4bdd50 100644
--- a/recipes-tizen/pkgmgr/pkgmgr-extraconf.inc
+++ b/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"