Obtain TZ_BUILD_DATE in the same manner from OBS and QuickBuild 22/276222/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_9.0_unified accepted/tizen_unified tizen_7.0 tizen_7.0_hotfix tizen_8.0 tizen_9.0 accepted/tizen/7.0/unified/20221110.063708 accepted/tizen/7.0/unified/hotfix/20221116.111136 accepted/tizen/8.0/unified/20231005.095225 accepted/tizen/9.0/unified/20241031.000300 accepted/tizen/unified/20220613.161441 submit/tizen/20220613.065727 tizen_7.0_m2_release tizen_8.0_m2_release tizen_9.0_m2_release
authorHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 13 Jun 2022 05:56:02 +0000 (14:56 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 13 Jun 2022 05:56:02 +0000 (14:56 +0900)
Change-Id: I8def97b84e3a971e8b91cffda06cafae90edec8b
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
scripts/generic-base.post

index 885a8ec..d3a1bd6 100644 (file)
@@ -12,7 +12,8 @@ rm -rf /home
 ln -snf opt/usr/home /home
 
 build_ts=$(date -u +%s)
-build_date=$(date -u --date @$build_ts +%Y%m%d_%H%M%S)
+build_date_local=$(date -u --date @$build_ts +%Y%m%d_%H%M%S)
+build_date=$(echo @BUILD_DATE@ | sed -r -e "s/@BUILD_DATE[@]/$build_date_local/g")
 build_time=$(date -u --date @$build_ts +%H:%M:%S)
 
 sed -ri \