Fix path fo pkgmgr tool
authorRonan Le Martret <ronan@fridu.net>
Thu, 16 Oct 2014 08:32:15 +0000 (10:32 +0200)
committerRonan Le Martret <ronan@fridu.net>
Thu, 16 Oct 2014 08:32:15 +0000 (10:32 +0200)
Change-Id: I894e2aa1cc5c9c727e742f39157260bff5d3332b

recipes-tizen/pkgmgr/pkgmgr-extraconf.inc

index 2ce18d4..af4bdd5 100644 (file)
@@ -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"