diff options
author | Woo Chang Kim <wchang.kim@samsung.com> | 2021-06-28 06:27:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review> | 2021-06-28 06:27:10 +0000 |
commit | 2f55dcd9b499fe6678f72819c6d88a526bacbf9d (patch) | |
tree | 0bd0cffcf175997e390a1e4974ff3ab3e1d48660 | |
parent | 32c8fe24ac103ac3adfaaf1c4c31afa949c3a96f (diff) | |
parent | c4b83ee842b8e5465f296294004a877e0709bfcf (diff) | |
download | meta-2f55dcd9b499fe6678f72819c6d88a526bacbf9d.tar.gz meta-2f55dcd9b499fe6678f72819c6d88a526bacbf9d.tar.bz2 meta-2f55dcd9b499fe6678f72819c6d88a526bacbf9d.zip |
Merge "Generate system info database from hal.img" into tizensubmit/tizen/20210628.062452accepted/tizen/unified/20210629.130220
-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 |