identify which release the loader menu runs on. 57/27557/3
authorchunqiangx <chunqiangx.tang@intel.com>
Tue, 16 Sep 2014 05:41:09 +0000 (13:41 +0800)
committerMikko Ylinen <mikko.ylinen@intel.com>
Tue, 16 Sep 2014 10:38:08 +0000 (03:38 -0700)
replace "Tizne Next" with release number in file /etc/os-release.
the release number will be showed on loader menu.
Bug-Tizen: TC-103

Change-Id: I6c1e7067a54f11f0e7cc0d9f5c54e38f416b0e0b
Signed-off-by: chunqiangx <chunqiangx.tang@intel.com>
scripts/ivi-adaptation.post

index 072d128..7848ab5 100644 (file)
@@ -1,5 +1,8 @@
 #!/bin/sh
 echo "#################### ivi-adaptations.post ####################"
 
+#replace "Tizen Next" with real release number.
+sed -i 's/(\(.*\))/(@BUILD_ID@)/' /etc/os-release
+
 # Install and configure the boot-loader, /etc/fstab, and so on
 /usr/sbin/setup-ivi-boot