diff options
author | Youngjae Cho <y0.cho@samsung.com> | 2021-06-23 12:18:54 +0900 |
---|---|---|
committer | Youngjae Cho <y0.cho@samsung.com> | 2021-06-28 11:55:31 +0900 |
commit | c4b83ee842b8e5465f296294004a877e0709bfcf (patch) | |
tree | a2ddec38c882554fe0cec73211a0bdc2e07c5019 /scripts | |
parent | 8da61ee96f2818cd4e1ad18135a5b63e0a97ba2d (diff) | |
download | meta-c4b83ee842b8e5465f296294004a877e0709bfcf.tar.gz meta-c4b83ee842b8e5465f296294004a877e0709bfcf.tar.bz2 meta-c4b83ee842b8e5465f296294004a877e0709bfcf.zip |
Generate system info database from hal.img
Use db generation script of system-info.
Change-Id: I42655af7bd8671a2fd9afa5e373cbcd507e18a5e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/iot-hal-backend.post | 26 |
1 files changed, 1 insertions, 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 <<EOF > /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 |