From c4b83ee842b8e5465f296294004a877e0709bfcf Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Wed, 23 Jun 2021 12:18:54 +0900 Subject: Generate system info database from hal.img Use db generation script of system-info. Change-Id: I42655af7bd8671a2fd9afa5e373cbcd507e18a5e Signed-off-by: Youngjae Cho --- scripts/iot-hal-backend.post | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/scripts/iot-hal-backend.post b/scripts/iot-hal-backend.post index 60f1ada..79fca64 100644 --- a/scripts/iot-hal-backend.post +++ b/scripts/iot-hal-backend.post @@ -139,28 +139,4 @@ build_time=$(/bin/date -u --date @$build_ts +%H:%M:%S) -e "s|@BUILD_TS[@]|$build_ts|g" \ /etc/tizen-build.conf -. /etc/tizen-build.conf - -TYPE=$(echo $TZ_BUILD_RELEASE_TYPE | /usr/bin/tr '[:upper:]' '[:lower:]') - -DATE=$(echo $TZ_BUILD_DATE | /usr/bin/awk -F"[-_.]" '{ print $1 }') - -RELEASE=$(echo $TZ_BUILD_ID | /bin/sed "s/.*$DATE/$DATE/") -RELEASE=$(echo $RELEASE | /usr/bin/awk -F"[-_]" '{ print $1 }') - -ID=$(echo $TZ_BUILD_ID | /bin/sed "s/$DATE.*//") -ID=$(echo $ID | /bin/sed "s/[-_.]*$//") - - -/bin/cat < /hal/etc/hal-info.ini -[Version] -Model=$TZ_BUILD_RELEASE_NAME; -Build=$TZ_BUILD_ID; -Release=$RELEASE; -[Build] -Type=$TYPE; -Date=$TZ_BUILD_DATE; -Time=$TZ_BUILD_TIME; -Variant=$TZ_BUILD_VARIANT; -ID=$ID; -EOF +/etc/make_info_file.sh hal -- cgit v1.2.3