Resetting init-x11 images 54/31754/1 accepted/tizen/tv/20141209.132743 submit/tizen_tv/20141209.122126
authorJoonsub Lee <joon-sub.lee@samsung.com>
Tue, 9 Dec 2014 12:18:53 +0000 (21:18 +0900)
committerJoonsub Lee <joon-sub.lee@samsung.com>
Tue, 9 Dec 2014 12:19:50 +0000 (21:19 +0900)
Change-Id: If529a261453eb9040609357c59cbf498ea1085bf

patterns/tv-adaptation.yaml [new file with mode: 0644]
patterns/tv-middleware.yaml [new file with mode: 0644]
patterns/tv-x11.yaml [new file with mode: 0644]
scripts/tv-adaptation.post [new file with mode: 0644]
scripts/tv-x11.post [new file with mode: 0644]
tv.yaml

diff --git a/patterns/tv-adaptation.yaml b/patterns/tv-adaptation.yaml
new file mode 100644 (file)
index 0000000..b6e6111
--- /dev/null
@@ -0,0 +1,5 @@
+Summary: TV Adaptation
+Description: TV Adaptation
+Name: tv-adaptation
+Packages:
+- meta-generic-adaptation
diff --git a/patterns/tv-middleware.yaml b/patterns/tv-middleware.yaml
new file mode 100644 (file)
index 0000000..51cb880
--- /dev/null
@@ -0,0 +1,13 @@
+Summary: TV Middleware
+Description: TV Middleware
+Name: tv-middleware
+Packages:
+- model-config-generic
+- usb-server
+- elm-misc
+- libprivilege-control-conf
+- pkgmgr-server
+- sqlite3
+- sdbd
+- buxton
+- cynara
diff --git a/patterns/tv-x11.yaml b/patterns/tv-x11.yaml
new file mode 100644 (file)
index 0000000..c788977
--- /dev/null
@@ -0,0 +1,6 @@
+Summary: TV X11
+Description: TV X11
+Name: tv-x11
+Packages:
+- x11-common
+- desktop-skin
diff --git a/scripts/tv-adaptation.post b/scripts/tv-adaptation.post
new file mode 100644 (file)
index 0000000..72e1242
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo "############### tv-adaptation.post ################"
+
diff --git a/scripts/tv-x11.post b/scripts/tv-x11.post
new file mode 100644 (file)
index 0000000..b4473f4
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+echo "#################### tv-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
+
diff --git a/tv.yaml b/tv.yaml
index 22796ff..7c79b46 100644 (file)
--- a/tv.yaml
+++ b/tv.yaml
@@ -19,20 +19,18 @@ Default:
     UserGroups: "audio,video"
     Groups:
         - Generic Base
-        - Common Base
         - Generic Console Tools
         - Generic Packaging
-        - Common Packaging
-        - Generic Adaptation
-        - Common Adaptation
+        - Generic Applications
+        - Generic X11
+        - Generic Multimedia
     PostScripts:
         - generic-base
-        - common-base
         - generic-console-tools
         - generic-packaging
-        - common-packaging
-        - generic-adaptation
-        - common-adaptation
+        - generic-applications
+        - generic-x11
+        - generic-multimedia
     NoChrootScripts:
         - buildname
 
@@ -49,13 +47,14 @@ X11:
     Part: common-mbr
     UserGroups: "audio,video"
     Groups:
-        - Generic X11
+        - Common Base
+        - Common Packaging
+        - Generic Adaptation
+        - Common Adaptation
         - Common X11
         - Generic Middleware
         - Common Middleware
-        - Generic Applications
         - Generic Bluetooth
-        - Generic Multimedia
         - Generic Desktop Applications
         - Common Desktop Applications
         - Generic Crosswalk
@@ -63,13 +62,14 @@ X11:
         - Generic Qt5
         - Common Qt5
     PostScripts:
-        - generic-x11
+        - common-base
+        - common-packaging
+        - generic-adaptation
+        - common-adaptation
         - common-x11
         - generic-middleware
         - common-middleware
-        - generic-applications
         - generic-bluetooth
-        - generic-multimedia
         - generic-desktop-applications
         - common-desktop-applications
         - generic-crosswalk
@@ -82,24 +82,26 @@ MinimalX11:
     Part: common-mbr
     UserGroups: "audio,video"
     Groups:
-        - Generic X11
+        - Common Base
+        - Common Packaging
+        - Generic Adaptation
+        - Common Adaptation
         - Common X11
         - Generic Middleware
         - Common Middleware
-        - Generic Applications
         - Generic Bluetooth
-        - Generic Multimedia
         - Generic Desktop Applications
         - Common Desktop Applications
         - Generic Qt5
         - Common Qt5
     PostScripts:
-        - generic-x11
+        - common-base
+        - common-packaging
+        - generic-adaptation
+        - common-adaptation
         - generic-middleware
         - common-middleware
-        - generic-applications
         - generic-bluetooth
-        - generic-multimedia
         - generic-desktop-applications
         - common-desktop-applications
         - generic-crosswalk
@@ -112,5 +114,10 @@ init-X11:
     Part: common-mbr
     UserGroups: "audio,video"
     Groups:
-        - init TV
+        - TV Adaptation
+        - TV X11
+        - TV Middleware
+    PostScripts:
+        - tv-adaptation
+        - tv-x11
     Repos: []