wayland: add snapshot id on background image 50/26050/1 submit/tizen_common/20140814.164610
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 14 Aug 2014 16:39:54 +0000 (18:39 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 14 Aug 2014 16:39:54 +0000 (18:39 +0200)
Change-Id: I2c222f914f70702a1a6e06c4467c012b5aed14ad
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
patterns/common-wayland.yaml
scripts/common-wayland.post

index 4ed8712..1760fe4 100644 (file)
@@ -6,3 +6,4 @@ Packages:
 - weston-common-config
 - weston-clients
 - weston-common-tz-launcher
+- desktop-skin
index 1dfdaa3..40f4597 100644 (file)
@@ -51,3 +51,8 @@ if [ -w "$dst" ] ; then
 fi
 
 #}
+
+# tag the background image with the current snapshot id
+arch=$(rpm -qa | grep kernel-common | awk -F- '{printf("%s %s",$3,$4);}')
+/usr/bin/mark_image.py /usr/share/backgrounds/tizen/current "Tizen Common: @BUILD_ID@ $arch" ffffff 50 90 95 95
+