pattern: added Common X11 58/30958/1
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 27 Nov 2014 13:04:20 +0000 (14:04 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 27 Nov 2014 13:04:20 +0000 (14:04 +0100)
Change-Id: I3ad0815895e132f2aeae965ba6a83828798390a8
Bug-Tizen: TINF-731
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
patterns/common-x11.yaml [new file with mode: 0644]
scripts/common-x11.post [new file with mode: 0644]

diff --git a/patterns/common-x11.yaml b/patterns/common-x11.yaml
new file mode 100644 (file)
index 0000000..695e288
--- /dev/null
@@ -0,0 +1,6 @@
+Summary: Common X11
+Description: Common X11
+Name: common-x11
+Packages:
+- x11-common
+- desktop-skin
diff --git a/scripts/common-x11.post b/scripts/common-x11.post
new file mode 100644 (file)
index 0000000..e26eae0
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+echo "#################### common-x11.post ##################"
+
+# 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
+