From 2adaeba27c62af1c9e9356c1bcd3c38ab3d24c1c Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Thu, 27 Nov 2014 14:04:20 +0100 Subject: [PATCH] pattern: added Common X11 Change-Id: I3ad0815895e132f2aeae965ba6a83828798390a8 Bug-Tizen: TINF-731 Signed-off-by: Stephane Desneux --- patterns/common-x11.yaml | 6 ++++++ scripts/common-x11.post | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 patterns/common-x11.yaml create mode 100644 scripts/common-x11.post 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 + -- 2.7.4