diff options
-rw-r--r-- | meta-tizen/recipes-tizen/pkgmgr/pkgmgr-extraconf.inc | 4 |
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" |