From: Stephane Desneux Date: Thu, 14 Aug 2014 16:39:54 +0000 (+0200) Subject: wayland: add snapshot id on background image X-Git-Tag: submit/tizen_common/20140814.164610^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F50%2F26050%2F1;p=profile%2Fcommon%2Fmeta.git wayland: add snapshot id on background image Change-Id: I2c222f914f70702a1a6e06c4467c012b5aed14ad Signed-off-by: Stephane Desneux --- 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 +