Revert "delete validation api to fix build error" 35/11135/1
authorChengwei Yang <chengwei.yang@intel.com>
Mon, 21 Oct 2013 05:26:43 +0000 (13:26 +0800)
committerChengwei Yang <chengwei.yang@intel.com>
Mon, 21 Oct 2013 06:13:34 +0000 (14:13 +0800)
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 <chengwei.yang@intel.com>
tool/pkg_initdb.c

index 028d0ca..f54d09e 100755 (executable)
@@ -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);