[Title] pkginfo logging
authorgiwoong.kim <giwoong.kim@samsung.com>
Thu, 12 Apr 2012 15:50:18 +0000 (00:50 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Thu, 12 Apr 2012 16:26:20 +0000 (01:26 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/Makefile
tizen/src/emulator.c

index 83690cc044b5633bf262a2b3cc1ad9c623cdaae8..660cffe9a5aaf11608fd4eeb83f3ca0e419117c8 100755 (executable)
@@ -27,6 +27,7 @@ build_info:
        @echo "/* Automatically generated by Makefile - do not modify! */" > build_info.h
        @echo "const char build_version[] = \"`cat VERSION`\";" >> build_info.h
        @echo "const char build_date[] = \"`date +"%F %T %Z"`\";" >> build_info.h
+       @echo "const char pkginfo_version[] = \"`sed -n '2p' ./../../package/pkginfo.manifest`\";" >> build_info.h
 
 clean:
        cd ../../ && $(MAKE) clean
index b74d6844ed080ab5a65d418d30439d1325db256e..d4c6eafbf06cb10791585e53d23b7bf3e48439b9 100644 (file)
@@ -209,7 +209,8 @@ static void system_info(void)
     struct tm *tm_time;
     struct timeval tval;
 
-    INFO("* SDK version : %s\n", build_version);
+    INFO("* SDK Version : %s\n", build_version);
+    INFO("* Package %s\n", pkginfo_version);
     INFO("* User name : %s\n", g_get_real_name());
 #ifdef _WIN32
     INFO("* Host name : %s\n", g_get_host_name());