summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-11-27 14:04:20 +0100
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-11-27 14:04:20 +0100
commit2adaeba27c62af1c9e9356c1bcd3c38ab3d24c1c (patch)
tree1487d4feda40754a9e11bc3439740f293013a2fb
parenta0f1c0c04b586fc3b446916b92664e3625d4c9d1 (diff)
downloadmeta-2adaeba27c62af1c9e9356c1bcd3c38ab3d24c1c.tar.gz
meta-2adaeba27c62af1c9e9356c1bcd3c38ab3d24c1c.tar.bz2
meta-2adaeba27c62af1c9e9356c1bcd3c38ab3d24c1c.zip
pattern: added Common X11
Change-Id: I3ad0815895e132f2aeae965ba6a83828798390a8 Bug-Tizen: TINF-731 Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r--patterns/common-x11.yaml6
-rw-r--r--scripts/common-x11.post7
2 files changed, 13 insertions, 0 deletions
diff --git a/patterns/common-x11.yaml b/patterns/common-x11.yaml
new file mode 100644
index 0000000..695e288
--- /dev/null
+++ b/patterns/common-x11.yaml
@@ -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
index 0000000..e26eae0
--- /dev/null
+++ b/scripts/common-x11.post
@@ -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
+