projects
/
platform
/
upstream
/
meta-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5759b37
)
Obtain TZ_BUILD_DATE in the same manner from OBS and QuickBuild
26/276226/1
accepted/tizen_6.5_unified
tizen_6.5
accepted/tizen/6.5/unified/20220613.161436
submit/tizen_6.5/20220613.065801
author
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 13 Jun 2022 05:56:02 +0000
(14:56 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 13 Jun 2022 06:49:13 +0000
(06:49 +0000)
Change-Id: I8def97b84e3a971e8b91cffda06cafae90edec8b
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
scripts/generic-base.post
patch
|
blob
|
history
diff --git
a/scripts/generic-base.post
b/scripts/generic-base.post
index
885a8ec
..
d3a1bd6
100644
(file)
--- a/
scripts/generic-base.post
+++ b/
scripts/generic-base.post
@@
-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 \