From c1dbc876c07696a36a2e091d97fcd5a1e740c584 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Mon, 21 Oct 2013 13:26:43 +0800 Subject: [PATCH] Revert "delete validation api to fix build error" This reverts commit 2b811ac65b2d7af0d61d95a844b4b255815bd99b. The previous workarounds did hidden build issue and make pkgmgr useless and crash amd. Bug: https://bugs.tizen.org/jira/browse/PTREL-134 Change-Id: Ie9424e29f23d2d0567054b05e29b7b4ef2d7c47c Signed-off-by: Chengwei Yang --- tool/pkg_initdb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tool/pkg_initdb.c b/tool/pkg_initdb.c index 028d0ca..f54d09e 100755 --- a/tool/pkg_initdb.c +++ b/tool/pkg_initdb.c @@ -154,7 +154,6 @@ int initdb_load_directory(const char *directory) fprintf(stderr, "pkg_initdb : manifest file %s\n", buf); -#if 0 // FIXME!!!! This method depends on a non-existant pkgmgr_parser_check_manifest_validation ret = pkgmgr_parser_check_manifest_validation(buf); if (ret < 0) { _E("check manifest validation failed code[%d] %s\n", ret, buf); @@ -162,7 +161,7 @@ int initdb_load_directory(const char *directory) free(manifest); continue; } -#endif + /*temporarily fixed due to glib abort */ // pkgmgr_parser_parse_manifest_for_installation(buf, NULL); -- 2.7.4