summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-08-14 18:39:54 +0200
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-08-14 18:39:54 +0200
commitb135c154bf0f82a07c2610bffe01fd705fed6c17 (patch)
treedc43fa6e3495cac69f22f534eee5ef64b3a2dd5b
parent03c3c4ccf324f0d7c7236beb320128eed1ed0881 (diff)
downloadmeta-b135c154bf0f82a07c2610bffe01fd705fed6c17.tar.gz
meta-b135c154bf0f82a07c2610bffe01fd705fed6c17.tar.bz2
meta-b135c154bf0f82a07c2610bffe01fd705fed6c17.zip
wayland: add snapshot id on background imagesubmit/tizen_common/20140814.164610
Change-Id: I2c222f914f70702a1a6e06c4467c012b5aed14ad Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r--patterns/common-wayland.yaml1
-rw-r--r--scripts/common-wayland.post5
2 files changed, 6 insertions, 0 deletions
diff --git a/patterns/common-wayland.yaml b/patterns/common-wayland.yaml
index 4ed8712..1760fe4 100644
--- a/patterns/common-wayland.yaml
+++ b/patterns/common-wayland.yaml
@@ -6,3 +6,4 @@ Packages:
- weston-common-config
- weston-clients
- weston-common-tz-launcher
+- desktop-skin
diff --git a/scripts/common-wayland.post b/scripts/common-wayland.post
index 1dfdaa3..40f4597 100644
--- a/scripts/common-wayland.post
+++ b/scripts/common-wayland.post
@@ -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
+