From: Sunmin Lee Date: Wed, 2 Aug 2017 05:04:25 +0000 (+0900) Subject: Make version information for update at imaging X-Git-Tag: submit/tizen/20170802.054958^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76b0ee5aaa1b673e5fb67becaa8810af8ba83942;p=platform%2Fcore%2Fapi%2Fsystem-info.git Make version information for update at imaging make_info_file.sh constructs platform info file during imaging. Platform update needs formatted version information which also could be constructed at imaging time. Change-Id: Ibee71bef3a5811fc725d1648ea69b88be384a8bd Signed-off-by: Sunmin Lee --- diff --git a/script/make_info_file.sh b/script/make_info_file.sh index 87639e8..57814db 100644 --- a/script/make_info_file.sh +++ b/script/make_info_file.sh @@ -31,3 +31,8 @@ ID=$ID; EOF /usr/bin/system_info_init_db + +# Create version info file for update +if [ -e /usr/share/upgrade/record-version.sh ]; then + /usr/share/upgrade/record-version.sh +fi