diff options
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 |