summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-02-27 14:17:22 +0100
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-02-27 19:06:23 +0100
commit32f92bb1aaba28c45c7936cb25169233988313b3 (patch)
tree3ffc79117743b3d5e1240b105712155ace53455e
parent7bd780344b09ca9db3fafadfce690b91979a3e2e (diff)
downloadmeta-32f92bb1aaba28c45c7936cb25169233988313b3.tar.gz
meta-32f92bb1aaba28c45c7936cb25169233988313b3.tar.bz2
meta-32f92bb1aaba28c45c7936cb25169233988313b3.zip
refactor patterns, scripts and ks
Change-Id: I71ce2e385973f1fee6ae48fc193a2a17668386cd Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r--generic.yaml67
-rw-r--r--ks/generic-minimal-mbr-i586.yaml9
-rw-r--r--ks/generic-minimal-mbr-x86_64.yaml10
-rw-r--r--ks/generic-qa-unsafe-minimal-mbr-i586.yaml14
-rw-r--r--ks/generic-qa-unsafe-minimal-mbr-x86_64.yaml14
-rw-r--r--ks/generic-qa-unsafe-wayland-mbr-i586.yaml6
-rw-r--r--ks/generic-qa-unsafe-wayland-mbr-x86_64.yaml6
-rw-r--r--ks/generic-qa-unsafe-wayland-xwalk-mbr-i586.yaml15
-rw-r--r--ks/generic-qa-unsafe-wayland-xwalk-mbr-x86_64.yaml16
-rw-r--r--ks/generic-qa-unsafe-x11-mbr-i586.yaml6
-rw-r--r--ks/generic-qa-unsafe-x11-mbr-x86_64.yaml6
-rw-r--r--ks/generic-wayland-xwalk-mbr-i586.yaml13
-rw-r--r--ks/generic-wayland-xwalk-mbr-x86_64.yaml14
-rw-r--r--patterns/generic-adaptation.yaml2
-rw-r--r--patterns/generic-applications.yaml2
-rw-r--r--patterns/generic-autoqa.yaml2
-rw-r--r--patterns/generic-base-micro.yaml6
-rw-r--r--patterns/generic-base.yaml6
-rw-r--r--patterns/generic-bluetooth.yaml2
-rw-r--r--patterns/generic-console-tools.yaml3
-rw-r--r--patterns/generic-crosswalk.yaml6
-rw-r--r--patterns/generic-desktop-applications.yaml6
-rw-r--r--patterns/generic-development.yaml2
-rw-r--r--patterns/generic-middleware.yaml2
-rw-r--r--patterns/generic-multimedia.yaml2
-rw-r--r--patterns/generic-packaging.yaml2
-rw-r--r--patterns/generic-qa.yaml2
-rw-r--r--patterns/generic-qt5.yaml5
-rw-r--r--patterns/generic-wayland.yaml2
-rw-r--r--patterns/generic-webkit.yaml4
-rw-r--r--patterns/generic-x11.yaml5
-rw-r--r--scripts/base-general.post6
-rw-r--r--scripts/base-generic-minimal.post4
-rw-r--r--scripts/base-weston-default.post72
-rw-r--r--scripts/generic-adaptation.post1
-rw-r--r--scripts/generic-applications.post2
-rw-r--r--scripts/generic-autoqa.post (renamed from scripts/autoqa.post)2
-rw-r--r--scripts/generic-base-micro.post2
-rw-r--r--scripts/generic-base.post26
-rw-r--r--scripts/generic-bluetooth.post2
-rw-r--r--scripts/generic-console-tools.post (renamed from scripts/customize.post)12
-rw-r--r--scripts/generic-crosswalk.post24
-rw-r--r--scripts/generic-desktop-applications.post2
-rw-r--r--scripts/generic-development.post2
-rw-r--r--scripts/generic-middleware.post2
-rw-r--r--scripts/generic-multimedia.post17
-rw-r--r--scripts/generic-packaging.post31
-rw-r--r--scripts/generic-qa.post2
-rw-r--r--scripts/generic-qt5.post2
-rw-r--r--scripts/generic-wayland.post22
-rw-r--r--scripts/generic-webkit.post59
-rw-r--r--scripts/generic-x11.post (renamed from scripts/base-x11-default.post)2
-rw-r--r--scripts/optimization.post4
-rw-r--r--scripts/rpm.post4
-rw-r--r--scripts/vconf-keys-default.post4
-rw-r--r--scripts/wrt-widgets.post7
56 files changed, 383 insertions, 187 deletions
diff --git a/generic.yaml b/generic.yaml
index 7f6c23b..8d60df7 100644
--- a/generic.yaml
+++ b/generic.yaml
@@ -21,27 +21,19 @@ Default:
SaveRepos: False
UserGroups: "audio,video"
Groups:
- - Generic Base System
+ - Generic Base
- Generic Console Tools
- Generic Packaging
PostScripts:
- - base-general
- - rpm
- - optimization
- - customize
+ - generic-base
+ - generic-console-tools
+ - generic-packaging
NoChrootScripts:
- buildname
Minimal:
Part: generic-mbr
-Minimal_QA:
- Part: generic-mbr
- Groups:
- - Generic Automated QA Tools
- PostScripts:
- - autoqa
-
Wayland:
Part: generic-mbr
UserGroups: "audio,video,weston-launch"
@@ -50,41 +42,19 @@ Wayland:
- Generic Adaptation
- Generic Middleware
- Generic Applications
- PostScripts:
- - base-weston-default
- - vconf-keys-default
-
-Wayland_QA:
- Part: generic-mbr
- UserGroups: "audio,video,weston-launch"
- Groups:
- - Generic Wayland
- - Generic Adaptation
- - Generic Middleware
- - Generic Applications
- - Generic Automated QA Tools
- PostScripts:
- - base-weston-default
- - vconf-keys-default
- - autoqa
-
-X11:
- Part: generic-mbr
- Groups:
- - Generic X11
- - Generic Adaptation
- - Generic Middleware
- - Generic Applications
- Generic Bluetooth
- Generic Multimedia
- - Generic Webkit
- Generic Desktop Applications
PostScripts:
- - base-x11-default
- - wrt-widgets
- - vconf-keys-default
+ - generic-wayland
+ - generic-adaptation
+ - generic-middleware
+ - generic-applications
+ - generic-bluetooth
+ - generic-multimedia
+ - generic-desktop-applications
-X11_QA:
+X11:
Part: generic-mbr
Groups:
- Generic X11
@@ -95,10 +65,13 @@ X11_QA:
- Generic Multimedia
- Generic Webkit
- Generic Desktop Applications
- - Generic Automated QA Tools
PostScripts:
- - base-x11-default
- - wrt-widgets
- - vconf-keys-default
- - autoqa
+ - generic-x11
+ - generic-adaptation
+ - generic-middleware
+ - generic-applications
+ - generic-bluetooth
+ - generic-multimedia
+ - generic-webkit
+ - generic-desktop-applications
diff --git a/ks/generic-minimal-mbr-i586.yaml b/ks/generic-minimal-mbr-i586.yaml
new file mode 100644
index 0000000..1fa3f7d
--- /dev/null
+++ b/ks/generic-minimal-mbr-i586.yaml
@@ -0,0 +1,9 @@
+Name: Generic Minimal MBR i586
+Schedule: "*"
+Active: True
+Platform: Minimal
+Part: generic-mbr
+FileName: generic-minimal-mbr-i586
+Kernel: kernel-x86-generic
+Repos:
+ - generic-wayland_i586
diff --git a/ks/generic-minimal-mbr-x86_64.yaml b/ks/generic-minimal-mbr-x86_64.yaml
new file mode 100644
index 0000000..a3ea9b8
--- /dev/null
+++ b/ks/generic-minimal-mbr-x86_64.yaml
@@ -0,0 +1,10 @@
+Name: Generic Minimal MBR x86_64
+Architecture: x86_64
+Schedule: "*"
+Active: True
+Platform: Minimal
+Part: generic-mbr
+FileName: generic-minimal-mbr-x86_64
+Kernel: kernel-x86-generic
+Repos:
+ - generic-wayland_x86_64
diff --git a/ks/generic-qa-unsafe-minimal-mbr-i586.yaml b/ks/generic-qa-unsafe-minimal-mbr-i586.yaml
new file mode 100644
index 0000000..e875731
--- /dev/null
+++ b/ks/generic-qa-unsafe-minimal-mbr-i586.yaml
@@ -0,0 +1,14 @@
+Name: Generic Minimal MBR i586
+Schedule: "*"
+Active: True
+Platform: Minimal
+Part: generic-mbr
+FileName: generic-minimal-mbr-i586
+Kernel: kernel-x86-generic
+Repos:
+ - generic-wayland_i586
+Groups:
+ - Generic Automated QA Tools
+PostScripts:
+ - generic-autoqa
+
diff --git a/ks/generic-qa-unsafe-minimal-mbr-x86_64.yaml b/ks/generic-qa-unsafe-minimal-mbr-x86_64.yaml
new file mode 100644
index 0000000..d9fb996
--- /dev/null
+++ b/ks/generic-qa-unsafe-minimal-mbr-x86_64.yaml
@@ -0,0 +1,14 @@
+Name: Generic Minimal MBR x86_64
+Architecture: x86_64
+Schedule: "*"
+Active: True
+Platform: Minimal
+Part: generic-mbr
+FileName: generic-minimal-mbr-x86_64
+Kernel: kernel-x86-generic
+Repos:
+ - generic-wayland_x86_64
+Groups:
+ - Generic Automated QA Tools
+PostScripts:
+ - generic-autoqa
diff --git a/ks/generic-qa-unsafe-wayland-mbr-i586.yaml b/ks/generic-qa-unsafe-wayland-mbr-i586.yaml
index 6a143d6..3c1d8fb 100644
--- a/ks/generic-qa-unsafe-wayland-mbr-i586.yaml
+++ b/ks/generic-qa-unsafe-wayland-mbr-i586.yaml
@@ -1,9 +1,13 @@
Name: Generic QA Unsafe Wayland MBR i586
Schedule: "*"
Active: True
-Platform: Wayland_QA
+Platform: Wayland
Part: generic-mbr
FileName: generic-qa-unsafe-wayland-mbr-i586
Kernel: kernel-x86-generic
Repos:
- generic-wayland_i586
+Groups:
+ - Generic Automated QA Tools
+PostScripts:
+ - generic-autoqa
diff --git a/ks/generic-qa-unsafe-wayland-mbr-x86_64.yaml b/ks/generic-qa-unsafe-wayland-mbr-x86_64.yaml
index cc821d1..7f8dc28 100644
--- a/ks/generic-qa-unsafe-wayland-mbr-x86_64.yaml
+++ b/ks/generic-qa-unsafe-wayland-mbr-x86_64.yaml
@@ -2,9 +2,13 @@ Name: Generic QA Unsafe Wayland MBR x86_64
Architecture: x86_64
Schedule: "*"
Active: True
-Platform: Wayland_QA
+Platform: Wayland
Part: generic-mbr
FileName: generic-qa-unsafe-wayland-mbr-x86_64
Kernel: kernel-x86-generic
Repos:
- generic-wayland_x86_64
+Groups:
+ - Generic Automated QA Tools
+PostScripts:
+ - generic-autoqa
diff --git a/ks/generic-qa-unsafe-wayland-xwalk-mbr-i586.yaml b/ks/generic-qa-unsafe-wayland-xwalk-mbr-i586.yaml
new file mode 100644
index 0000000..e4d9990
--- /dev/null
+++ b/ks/generic-qa-unsafe-wayland-xwalk-mbr-i586.yaml
@@ -0,0 +1,15 @@
+Name: Generic QA Unsafe Wayland XWalk MBR i586
+Schedule: "*"
+Active: True
+Platform: Wayland
+Part: generic-mbr
+FileName: generic-qa-unsafe-wayland-xwalk-mbr-i586
+Kernel: kernel-x86-generic
+Repos:
+ - generic-wayland_i586
+Groups:
+ - Generic Crosswalk
+ - Generic Automated QA Tools
+PostScripts:
+ - generic-crosswalk
+ - generic-autoqa
diff --git a/ks/generic-qa-unsafe-wayland-xwalk-mbr-x86_64.yaml b/ks/generic-qa-unsafe-wayland-xwalk-mbr-x86_64.yaml
new file mode 100644
index 0000000..13b3165
--- /dev/null
+++ b/ks/generic-qa-unsafe-wayland-xwalk-mbr-x86_64.yaml
@@ -0,0 +1,16 @@
+Name: Generic QA Unsafe Wayland XWalk MBR x86_64
+Architecture: x86_64
+Schedule: "*"
+Active: True
+Platform: Wayland
+Part: generic-mbr
+FileName: generic-qa-unsafe-wayland-xwalk-mbr-x86_64
+Kernel: kernel-x86-generic
+Repos:
+ - generic-wayland_x86_64
+Groups:
+ - Generic Crosswalk
+ - Generic Automated QA Tools
+PostScripts:
+ - generic-crosswalk
+ - generic-autoqa
diff --git a/ks/generic-qa-unsafe-x11-mbr-i586.yaml b/ks/generic-qa-unsafe-x11-mbr-i586.yaml
index 77d1bdc..99297ac 100644
--- a/ks/generic-qa-unsafe-x11-mbr-i586.yaml
+++ b/ks/generic-qa-unsafe-x11-mbr-i586.yaml
@@ -1,9 +1,13 @@
Name: Generic QA Unsafe X11 MBR i586
Schedule: "*"
Active: True
-Platform: X11_QA
+Platform: X11
Part: generic-mbr
FileName: generic-qa-unsafe-x11-mbr-i586
Kernel: kernel-x86-generic
Repos:
- generic-x11_i586
+Groups:
+ - Generic Automated QA Tools
+PostScripts:
+ - generic-autoqa
diff --git a/ks/generic-qa-unsafe-x11-mbr-x86_64.yaml b/ks/generic-qa-unsafe-x11-mbr-x86_64.yaml
index c140742..28b72d1 100644
--- a/ks/generic-qa-unsafe-x11-mbr-x86_64.yaml
+++ b/ks/generic-qa-unsafe-x11-mbr-x86_64.yaml
@@ -2,9 +2,13 @@ Name: Generic QA Unsafe X11 MBR x86_64
Architecture: x86_64
Schedule: "*"
Active: True
-Platform: X11_QA
+Platform: X11
Part: generic-mbr
FileName: generic-qa-unsafe-x11-mbr-x86_64
Kernel: kernel-x86-generic
Repos:
- generic-x11_x86_64
+Groups:
+ - Generic Automated QA Tools
+PostScripts:
+ - generic-autoqa
diff --git a/ks/generic-wayland-xwalk-mbr-i586.yaml b/ks/generic-wayland-xwalk-mbr-i586.yaml
new file mode 100644
index 0000000..156300b
--- /dev/null
+++ b/ks/generic-wayland-xwalk-mbr-i586.yaml
@@ -0,0 +1,13 @@
+Name: Generic Wayland XWalk MBR i586
+Schedule: "*"
+Active: True
+Platform: Wayland
+Part: generic-mbr
+FileName: generic-wayland-xwalk-mbr-i586
+Kernel: kernel-x86-generic
+Repos:
+ - generic-wayland_i586
+Groups:
+ - Generic Crosswalk
+PostScripts:
+ - generic-crosswalk
diff --git a/ks/generic-wayland-xwalk-mbr-x86_64.yaml b/ks/generic-wayland-xwalk-mbr-x86_64.yaml
new file mode 100644
index 0000000..2f4b4c4
--- /dev/null
+++ b/ks/generic-wayland-xwalk-mbr-x86_64.yaml
@@ -0,0 +1,14 @@
+Name: Generic Wayland XWalk MBR x86_64
+Architecture: x86_64
+Schedule: "*"
+Active: True
+Platform: Wayland
+Part: generic-mbr
+FileName: generic-wayland-xwalk-mbr-x86_64
+Kernel: kernel-x86-generic
+Repos:
+ - generic-wayland_x86_64
+Groups:
+ - Generic Crosswalk
+PostScripts:
+ - generic-crosswalk
diff --git a/patterns/generic-adaptation.yaml b/patterns/generic-adaptation.yaml
index 0b444d1..f59df02 100644
--- a/patterns/generic-adaptation.yaml
+++ b/patterns/generic-adaptation.yaml
@@ -1,5 +1,5 @@
+Summary: Generic Adaptation
Description: Generic Adaptation
Name: generic-adaptation
Packages:
- linux-firmware
-Summary: Generic Adaptation
diff --git a/patterns/generic-applications.yaml b/patterns/generic-applications.yaml
index a330676..a7b2cc8 100644
--- a/patterns/generic-applications.yaml
+++ b/patterns/generic-applications.yaml
@@ -1,7 +1,7 @@
+Summary: Generic Applications
Description: Generic Applications
Name: generic-applications
Packages:
- ail
- ca-certificates
- ca-certificates-mozilla
-Summary: Generic Applications
diff --git a/patterns/generic-autoqa.yaml b/patterns/generic-autoqa.yaml
index 9b04aed..4330b72 100644
--- a/patterns/generic-autoqa.yaml
+++ b/patterns/generic-autoqa.yaml
@@ -1,7 +1,7 @@
+Summary: Generic Automated QA Tools
Description: Generic Automated QA Tools
Name: generic-autoqa
Packages:
- testkit-lite
- screen
- which
-Summary: Generic Automated QA Tools
diff --git a/patterns/generic-base-micro.yaml b/patterns/generic-base-micro.yaml
index 95ed75f..754fd59 100644
--- a/patterns/generic-base-micro.yaml
+++ b/patterns/generic-base-micro.yaml
@@ -1,5 +1,6 @@
-Description: Generic Base Micro System
-Name: generic-base-micro-system
+Summary: Generic Base Micro
+Description: Generic Base Micro
+Name: generic-base-micro
Packages:
- bluez
- kmod
@@ -14,4 +15,3 @@ Packages:
- glibc-locale
- pciutils
- lrzsz
-Summary: Generic Base Micro System
diff --git a/patterns/generic-base.yaml b/patterns/generic-base.yaml
index ae4b014..6090af5 100644
--- a/patterns/generic-base.yaml
+++ b/patterns/generic-base.yaml
@@ -1,5 +1,6 @@
-Description: Generic Base System
-Name: generic-base-system
+Summary: Generic Base
+Description: Generic Base
+Name: generic-base
Packages:
- e2fsprogs
- connman
@@ -29,4 +30,3 @@ Packages:
- default-ac-domains
- wpa_supplicant
- prelink
-Summary: Generic Base System
diff --git a/patterns/generic-bluetooth.yaml b/patterns/generic-bluetooth.yaml
index 4beb9a1..b4cfc6b 100644
--- a/patterns/generic-bluetooth.yaml
+++ b/patterns/generic-bluetooth.yaml
@@ -1,3 +1,4 @@
+Summary: Generic Bluetooth
Description: Generic Bluetooth
Name: generic-bluetooth
Packages:
@@ -5,4 +6,3 @@ Packages:
- bluetooth-frwk
- bluetooth-share
- bluetooth-tools-no-firmware
-Summary: Generic Bluetooth
diff --git a/patterns/generic-console-tools.yaml b/patterns/generic-console-tools.yaml
index 6400f8b..552cac2 100644
--- a/patterns/generic-console-tools.yaml
+++ b/patterns/generic-console-tools.yaml
@@ -1,3 +1,4 @@
+Summary: Generic Console Tools
Description: Generic Console Tools
Name: generic-console-tools
Packages:
@@ -26,4 +27,4 @@ Packages:
- ca-certificates-mozilla
- iptables
- tree
-Summary: Generic Console Tools
+- intel-gpu-tools
diff --git a/patterns/generic-crosswalk.yaml b/patterns/generic-crosswalk.yaml
new file mode 100644
index 0000000..a1005d1
--- /dev/null
+++ b/patterns/generic-crosswalk.yaml
@@ -0,0 +1,6 @@
+Summary: Generic Crosswalk
+Description: Generic Crosswalk
+Name: generic-crosswalk
+Packages:
+- crosswalk
+
diff --git a/patterns/generic-desktop-applications.yaml b/patterns/generic-desktop-applications.yaml
index f0d2136..d56cc7d 100644
--- a/patterns/generic-desktop-applications.yaml
+++ b/patterns/generic-desktop-applications.yaml
@@ -1,8 +1,8 @@
+Summary: Generic Desktop Applications
Description: Generic Desktop Applications
Name: generic-desktop-applications
Packages:
- emotion
-- econnman
-- bluetooth-agent
+#- econnman
+#- bluetooth-agent
- net-config
-Summary: Generic Desktop Applications
diff --git a/patterns/generic-development.yaml b/patterns/generic-development.yaml
index c452c98..1259a12 100644
--- a/patterns/generic-development.yaml
+++ b/patterns/generic-development.yaml
@@ -1,3 +1,4 @@
+Summary: Generic Development
Description: Generic Development
Name: generic-development
Packages:
@@ -46,4 +47,3 @@ Packages:
- iputils
- iproute2
- which
-Summary: Generic Development
diff --git a/patterns/generic-middleware.yaml b/patterns/generic-middleware.yaml
index 565463a..95ece19 100644
--- a/patterns/generic-middleware.yaml
+++ b/patterns/generic-middleware.yaml
@@ -1,3 +1,4 @@
+Summary: Generic Middleware
Description: Generic Middleware
Name: generic-middleware
Packages:
@@ -15,4 +16,3 @@ Packages:
- ofono
- pkgmgr-server
- sqlite3
-Summary: Generic Middleware
diff --git a/patterns/generic-multimedia.yaml b/patterns/generic-multimedia.yaml
index ec7d83d..b4388b4 100644
--- a/patterns/generic-multimedia.yaml
+++ b/patterns/generic-multimedia.yaml
@@ -1,3 +1,4 @@
+Summary: Generic Multimedia
Description: Generic Multimedia
Name: generic-multimedia
Packages:
@@ -17,4 +18,3 @@ Packages:
- gstreamer-utils
- libva-intel-driver
- vaapi-tools
-Summary: Generic Multimedia
diff --git a/patterns/generic-packaging.yaml b/patterns/generic-packaging.yaml
index a32efa8..427f3f2 100644
--- a/patterns/generic-packaging.yaml
+++ b/patterns/generic-packaging.yaml
@@ -1,6 +1,6 @@
+Summary: Generic Packaging
Description: Generic Packaging
Name: generic-packaging
Packages:
- gpg2
- zypper
-Summary: Generic Packaging
diff --git a/patterns/generic-qa.yaml b/patterns/generic-qa.yaml
index 96fba3b..69e039c 100644
--- a/patterns/generic-qa.yaml
+++ b/patterns/generic-qa.yaml
@@ -1,3 +1,4 @@
+Summary: Generic QA Tools
Description: Generic QA Tools
Name: generic-qa
Packages:
@@ -12,4 +13,3 @@ Packages:
- ofono-test
- python-xml
- wget
-Summary: Generic QA Tools
diff --git a/patterns/generic-qt5.yaml b/patterns/generic-qt5.yaml
new file mode 100644
index 0000000..e37dcc9
--- /dev/null
+++ b/patterns/generic-qt5.yaml
@@ -0,0 +1,5 @@
+Summary: Generic QT5
+Description: Generic QT5
+Name: generic-qt5
+Packages:
+- qt5-tools
diff --git a/patterns/generic-wayland.yaml b/patterns/generic-wayland.yaml
index d43a6bc..6f68f57 100644
--- a/patterns/generic-wayland.yaml
+++ b/patterns/generic-wayland.yaml
@@ -1,3 +1,4 @@
+Summary: Generic Wayland
Description: Generic Wayland
Name: generic-wayland
Packages:
@@ -9,4 +10,3 @@ Packages:
- tizen-branding-default
- user-session-units
- desktop-skin
-Summary: Generic Wayland
diff --git a/patterns/generic-webkit.yaml b/patterns/generic-webkit.yaml
index 5e3996a..25950ab 100644
--- a/patterns/generic-webkit.yaml
+++ b/patterns/generic-webkit.yaml
@@ -1,5 +1,6 @@
+Summary: Generic Webkit
Description: Generic Webkit
-Name: webkit
+Name: generic-webkit
Packages:
- wrt-widgets
- wrt
@@ -14,4 +15,3 @@ Packages:
- web-ui-fw-theme-default
- web-ui-fw-theme-tizen-black
- web-ui-fw-theme-tizen-white
-Summary: Base System \ No newline at end of file
diff --git a/patterns/generic-x11.yaml b/patterns/generic-x11.yaml
index 5b722a6..c95e778 100644
--- a/patterns/generic-x11.yaml
+++ b/patterns/generic-x11.yaml
@@ -1,3 +1,4 @@
+Summary: Generic X11
Description: Generic X11
Name: generic-x11
Packages:
@@ -5,4 +6,6 @@ Packages:
- xf86-input-synaptics
- xf86-video-intel
- xf86-input-keyboard
-Summary: Generic X11
+- xorg-launch-helper
+- enlightenment
+- user-session-units
diff --git a/scripts/base-general.post b/scripts/base-general.post
deleted file mode 100644
index 5a74bad..0000000
--- a/scripts/base-general.post
+++ /dev/null
@@ -1,6 +0,0 @@
-################ base-general.post ##################
-
-ln -sf /proc/self/mounts /etc/mtab
-
-rm -rf /root/.zypp
-
diff --git a/scripts/base-generic-minimal.post b/scripts/base-generic-minimal.post
deleted file mode 100644
index 65e09eb..0000000
--- a/scripts/base-generic-minimal.post
+++ /dev/null
@@ -1,4 +0,0 @@
-################### base-generic-minimal.post #################
-
-rm /usr/lib/systemd/system/default.target
-ln -sf multi-user.target /usr/lib/systemd/system/default.target
diff --git a/scripts/base-weston-default.post b/scripts/base-weston-default.post
deleted file mode 100644
index 4facb35..0000000
--- a/scripts/base-weston-default.post
+++ /dev/null
@@ -1,72 +0,0 @@
-#################### base-weston-default.post ##################
-# Initialize the native application database
-pkg_initdb
-
-# Add 'app' user to the weston-launch group
-/usr/sbin/groupmod -A app weston-launch
-
-# Temporary work around for bug in filesystem package resulting in the 'app' user home
-# directory being only readable by root
-chown -R app:app /opt/home/app
-
-# Since weston-launch runs with the "User" label, the app
-# home dir must have the same label
-chsmack -a User /opt/home/app
-
-# Enable a logind session for 'app' user on seat0 (the default seat for
-# graphical sessions)
-mkdir -p /usr/lib/systemd/system/graphical.target.wants
-ln -s ../user-session-launch@.service /usr/lib/systemd/system/graphical.target.wants/user-session-launch@seat0-5000.service
-ln -sf weston.target /usr/lib/systemd/user/default.target
-
-# Enable user@5000.service by setting the linger for user 'app'
-#mkdir -p /var/lib/systemd/linger
-#touch /var/lib/systemd/linger/app
-
-# Add over-riding environment to enable the web runtime to
-# run as a different user than the tizen user
-# Some notes on some of the variables:
-# - ELM_THEME is needed in order for the wrt to have visible content
-# - WRT_PROCESS_POOL_DISABLE is a work around for TIVI-2062
-cat > /etc/sysconfig/wrt <<EOF
-DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5000/dbus/user_bus_socket
-XDG_RUNTIME_DIR=/run/user/5000
-ELM_ENGINE=wayland_egl
-ECORE_EVAS_ENGINE=wayland_egl
-ELM_THEME=tizen-HD-light
-WRT_PROCESS_POOL_DISABLE=1
-EOF
-
-# Use the same over-rides for the native prelaunch daemon
-cp /etc/sysconfig/wrt /etc/sysconfig/launchpad
-
-# sdx: for AMD (ac.service)
-#cp /etc/sysconfig/wrt /etc/sysconfig/prelaunch
-
-# Add a rule to ensure the app user has permissions to
-# open the graphics device
-cat > /etc/udev/rules.d/99-dri.rules <<EOF
-SUBSYSTEM=="drm", MODE="0666"
-EOF
-
-############
-
-# sdx: add ELM theme in weston.sh
-cat >>/etc/profile.d/weston.sh <<'EOF'
-# sdx: patch commfrom meta-generic/scripts/base-weston-default.post
-export ELM_THEME=tizen-HD-light
-EOF
-
-# sdx: set DBUS env inside weston shell (login shell)
-cat >/etc/profile.d/user-dbus.sh <<'EOF'
-export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/dbus/user_bus_socket
-EOF
-
-# sdx: user 'app' must own /dev/tty1 for weston to start correctly
-cat >/usr/lib/udev/rules.d/99-tty.rules <<EOF
-SUBSYSTEM=="tty", KERNEL=="tty1", GROUP="app", OWNER="app"
-EOF
-
-# sdx: fix smack labels on /var/log
-chsmack -a '*' /var/log
-
diff --git a/scripts/generic-adaptation.post b/scripts/generic-adaptation.post
new file mode 100644
index 0000000..f0ba774
--- /dev/null
+++ b/scripts/generic-adaptation.post
@@ -0,0 +1 @@
+############### generic-adaptation.post ################
diff --git a/scripts/generic-applications.post b/scripts/generic-applications.post
new file mode 100644
index 0000000..a24d02e
--- /dev/null
+++ b/scripts/generic-applications.post
@@ -0,0 +1,2 @@
+############### generic-applications.post ################
+
diff --git a/scripts/autoqa.post b/scripts/generic-autoqa.post
index f6f0064..d9e9d9e 100644
--- a/scripts/autoqa.post
+++ b/scripts/generic-autoqa.post
@@ -1,4 +1,4 @@
-##################### autoqa.post #######################
+##################### generic-autoqa.post #######################
# generate private/public key for autologin as root
diff --git a/scripts/generic-base-micro.post b/scripts/generic-base-micro.post
new file mode 100644
index 0000000..0a2008d
--- /dev/null
+++ b/scripts/generic-base-micro.post
@@ -0,0 +1,2 @@
+############### generic-base-micro.post ################
+
diff --git a/scripts/generic-base.post b/scripts/generic-base.post
new file mode 100644
index 0000000..d4c3635
--- /dev/null
+++ b/scripts/generic-base.post
@@ -0,0 +1,26 @@
+################ generic-base.post ##################
+
+# was base-general-minimal.post - not used actually
+#rm /usr/lib/systemd/system/default.target
+#ln -sf multi-user.target /usr/lib/systemd/system/default.target
+
+# Run prelink to speed up dynamic binary/library loading
+/usr/sbin/prelink --all
+
+ln -sf /proc/self/mounts /etc/mtab
+
+# fix TIVI-2291
+sed -ri "s/(^blacklist i8042.*$)/#fix from base-general.post \1/" /etc/modprobe.d/blacklist.conf
+
+# sdx: fix smack labels on /var/log
+chsmack -a '*' /var/log
+
+# Temporary work around for bug in filesystem package resulting in the 'app' user home
+# directory being only readable by root
+chown -R app:app /opt/home/app
+
+# Since weston-launch runs with the "User" label, the app
+# home dir must have the same label
+chsmack -a User /opt/home/app
+
+
diff --git a/scripts/generic-bluetooth.post b/scripts/generic-bluetooth.post
new file mode 100644
index 0000000..3d572d6
--- /dev/null
+++ b/scripts/generic-bluetooth.post
@@ -0,0 +1,2 @@
+############### generic-bluetooth.post ################
+
diff --git a/scripts/customize.post b/scripts/generic-console-tools.post
index 66745c1..decef35 100644
--- a/scripts/customize.post
+++ b/scripts/generic-console-tools.post
@@ -1,13 +1,9 @@
-##################### customize.post ####################
+##################### generic-console-tools.post ####################
# customize bash prompt
cat >/etc/profile.d/bash_prompt_custom.sh <<'EOF'
if [ "$PS1" ]; then
- function parse_git_branch {
- [ -x "/usr/bin/git" ] && git branch --no-color 2>/dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
- }
-
function proml {
# set a fancy prompt (overwrite the one in /etc/profile)
local default="\[\e[0m\]"
@@ -23,7 +19,7 @@ if [ "$PS1" ]; then
_p="#"
fi
- PS1="${usercol}\u${default}@${hostcol}\h${default}:${pathcol}\w${default}${gitcol}\$(parse_git_branch)${default}${_p} ${termcmd}"
+ PS1="${usercol}\u${default}@${hostcol}\h${default}:${pathcol}\w${default}${gitcol}${default}${_p} ${termcmd}"
}
proml
@@ -36,10 +32,6 @@ if [ "$PS1" ]; then
alias lr="ls -ltrZ"
alias la="ls -alZ"
- function dbus_find () {
- echo export $(tr '\0' '\n' </proc/$(pgrep gnome-session)/environ |grep ^DB)
- }
-
function get_manifest () {
rpm -qa --queryformat="%{name} %{Version} %{Release} %{VCS}\n" | sort
}
diff --git a/scripts/generic-crosswalk.post b/scripts/generic-crosswalk.post
new file mode 100644
index 0000000..2d7c1b8
--- /dev/null
+++ b/scripts/generic-crosswalk.post
@@ -0,0 +1,24 @@
+############### generic-crosswalk.post ################
+
+# patch install path of crosswalk
+if [ -d /usr/lib64/xwalk ]; then
+ ln -s ../lib64/xwalk /usr/lib
+fi
+
+if [ -f /usr/bin/weston ]; then
+
+ cat >>/etc/xdg/weston/weston.ini <<EOF
+
+## crosswalk applications ##
+
+[launcher]
+icon=/usr/share/icons/tizen/32x32/web-browser.png
+path=/usr/lib64/xwalk/xwalk http://www.tizen.org
+EOF
+
+[launcher]
+icon=/usr/share/icons/tizen/32x32/web-browser.png
+path=/usr/lib64/xwalk/xwalk http://www.google.com
+EOF
+
+fi
diff --git a/scripts/generic-desktop-applications.post b/scripts/generic-desktop-applications.post
new file mode 100644
index 0000000..c8f9b50
--- /dev/null
+++ b/scripts/generic-desktop-applications.post
@@ -0,0 +1,2 @@
+############### generic-desktop-applications.post ################
+
diff --git a/scripts/generic-development.post b/scripts/generic-development.post
new file mode 100644
index 0000000..002aed4
--- /dev/null
+++ b/scripts/generic-development.post
@@ -0,0 +1,2 @@
+############### generic-development.post ################
+
diff --git a/scripts/generic-middleware.post b/scripts/generic-middleware.post
new file mode 100644
index 0000000..a89c0a5
--- /dev/null
+++ b/scripts/generic-middleware.post
@@ -0,0 +1,2 @@
+############### generic-middleware.post ################
+
diff --git a/scripts/generic-multimedia.post b/scripts/generic-multimedia.post
new file mode 100644
index 0000000..88a53ec
--- /dev/null
+++ b/scripts/generic-multimedia.post
@@ -0,0 +1,17 @@
+############### generic-multimedia.post ################
+
+if [ -f /usr/bin/weston ]; then
+
+ cat >>/etc/xdg/weston/weston.ini <<EOF
+
+## multimedia applications ##
+
+[launcher]
+icon=/usr/share/icons/tizen/32x32/webcam.png
+path=/usr/bin/launch_cam.sh
+
+[launcher]
+icon=/usr/share/icons/tizen/32x32/video.png
+path=/usr/bin/launch_video.sh
+
+fi
diff --git a/scripts/generic-packaging.post b/scripts/generic-packaging.post
new file mode 100644
index 0000000..95f5b9c
--- /dev/null
+++ b/scripts/generic-packaging.post
@@ -0,0 +1,31 @@
+############### generic-packaging.post ################
+
+rm -rf /root/.zypp
+
+# was: rpm.post
+rm -f /var/lib/rpm/__db*
+rpmdb --rebuilddb
+
+# generate repo files for zypper
+function genrepo() {
+ local reponame=$1
+ local url=$2
+
+cat >> /etc/zypp/repos.d/${reponame}.repo << EOF
+[${reponame}]
+name=${reponame}
+enabled=1
+autorefresh=0
+baseurl=
+baseurl=${url}?ssl_verify=no
+type=rpm-md
+gpgcheck=0
+EOF
+}
+
+if [ -x /usr/bin/weston ]; then
+ genrepo generic-wayland-@ARCH@ http://download.tizen.org/snapshots/tizen/generic/generic-wayland-@ARCH@/latest/repos/generic/@ARCH@/packages/
+else
+ genrepo generic-x11-@ARCH@ http://download.tizen.org/snapshots/tizen/generic/generic-x11-@ARCH@/latest/repos/generic/@ARCH@/packages/
+fi
+
diff --git a/scripts/generic-qa.post b/scripts/generic-qa.post
new file mode 100644
index 0000000..626d792
--- /dev/null
+++ b/scripts/generic-qa.post
@@ -0,0 +1,2 @@
+############### generic-qa.post ################
+
diff --git a/scripts/generic-qt5.post b/scripts/generic-qt5.post
new file mode 100644
index 0000000..15ae1b5
--- /dev/null
+++ b/scripts/generic-qt5.post
@@ -0,0 +1,2 @@
+############### generic-qt5.post ################
+
diff --git a/scripts/generic-wayland.post b/scripts/generic-wayland.post
new file mode 100644
index 0000000..89c8367
--- /dev/null
+++ b/scripts/generic-wayland.post
@@ -0,0 +1,22 @@
+#################### generic-wayland.post ##################
+
+# Add 'app' user to the weston-launch group
+/usr/sbin/groupmod -A app weston-launch
+
+# Enable a logind session for 'app' user on seat0 (the default seat for
+# graphical sessions)
+mkdir -p /usr/lib/systemd/system/graphical.target.wants
+ln -s ../user-session-launch@.service /usr/lib/systemd/system/graphical.target.wants/user-session-launch@seat0-5000.service
+ln -sf weston.target /usr/lib/systemd/user/default.target
+
+# Add a rule to ensure the app user has permissions to
+# open the graphics device
+cat > /etc/udev/rules.d/99-dri.rules <<EOF
+SUBSYSTEM=="drm", MODE="0666"
+EOF
+
+# sdx: user 'app' must own /dev/tty1 for weston to start correctly
+cat >/usr/lib/udev/rules.d/99-tty.rules <<EOF
+SUBSYSTEM=="tty", KERNEL=="tty1", GROUP="app", OWNER="app"
+EOF
+
diff --git a/scripts/generic-webkit.post b/scripts/generic-webkit.post
new file mode 100644
index 0000000..c41b119
--- /dev/null
+++ b/scripts/generic-webkit.post
@@ -0,0 +1,59 @@
+######### generic-webkit.post #############
+
+################ WAYLAND MODE #####################################
+# Add over-riding environment to enable the web runtime to
+# run as a different user than the tizen user
+# Some notes on some of the variables:
+# - ELM_THEME is needed in order for the wrt to have visible content
+# - WRT_PROCESS_POOL_DISABLE is a work around for TIVI-2062
+if [ -x /usr/bin/weston ]; then
+ cat > /etc/sysconfig/wrt <<EOF
+DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5000/dbus/user_bus_socket
+XDG_RUNTIME_DIR=/run/user/5000
+ELM_ENGINE=wayland_egl
+ECORE_EVAS_ENGINE=wayland_egl
+ELM_THEME=tizen-HD-light
+WRT_PROCESS_POOL_DISABLE=1
+EOF
+
+ # Use the same over-rides for the native prelaunch daemon
+ cp /etc/sysconfig/wrt /etc/sysconfig/launchpad
+fi
+
+# Initialize the native application database
+pkg_initdb
+
+# start wrt widgets preinstall
+prepare_widgets.sh
+install_widgets.sh
+
+# Needed to fix TIVI-1629
+if [ -x /usr/bin/vconftool ]; then
+ vconftool set -t int -f db/setting/default_memory/wap 0
+fi
+
+if [ -f /usr/bin/weston ]; then
+
+ cat >>/etc/xdg/weston/weston.ini <<EOF
+
+## crosswalk applications ##
+
+[launcher]
+icon=/usr/share/icons/tizen/32x32/annex.png
+path=/usr/bin/wrt-launcher -s 33CFo0eFJe.annex
+
+[launcher]
+icon=/usr/share/icons/tizen/32x32/bubblewrap.png
+path=/usr/bin/wrt-launcher -s ewqPdCunAO.bubblewrap
+
+[launcher]
+icon=/usr/share/icons/tizen/32x32/go.png
+path=/usr/bin/wrt-launcher -s SM31mV8fq9.go
+
+[launcher]
+icon=/usr/share/icons/tizen/32x32/mancala.png
+path=/usr/bin/wrt-launcher -s yKrWwxz1KX.mancala
+
+EOF
+
+fi
diff --git a/scripts/base-x11-default.post b/scripts/generic-x11.post
index 4d0a022..a5f0674 100644
--- a/scripts/base-x11-default.post
+++ b/scripts/generic-x11.post
@@ -1,4 +1,4 @@
-###################### base-x11-default.post ###################
+###################### generic-x11.post ###################
# enable X11 forwarding on ssh
echo "X11Forwarding yes" >>/etc/ssh/sshd_config
diff --git a/scripts/optimization.post b/scripts/optimization.post
deleted file mode 100644
index 9f1c964..0000000
--- a/scripts/optimization.post
+++ /dev/null
@@ -1,4 +0,0 @@
-######################## optimization.post #######################
-
-# Run prelink to speed up dynamic binary/library loading
-/usr/sbin/prelink --all
diff --git a/scripts/rpm.post b/scripts/rpm.post
deleted file mode 100644
index 36da676..0000000
--- a/scripts/rpm.post
+++ /dev/null
@@ -1,4 +0,0 @@
-##################### rpm.post #######################
-
-rm -f /var/lib/rpm/__db*
-rpmdb --rebuilddb
diff --git a/scripts/vconf-keys-default.post b/scripts/vconf-keys-default.post
deleted file mode 100644
index 6149b75..0000000
--- a/scripts/vconf-keys-default.post
+++ /dev/null
@@ -1,4 +0,0 @@
-##################### vconf-keys-default.post #######################
-
-# Needed to fix TIVI-1629
-vconftool set -t int -f db/setting/default_memory/wap 0
diff --git a/scripts/wrt-widgets.post b/scripts/wrt-widgets.post
deleted file mode 100644
index beb8fa4..0000000
--- a/scripts/wrt-widgets.post
+++ /dev/null
@@ -1,7 +0,0 @@
-######### wrt-widgets.post #############
-
-# start wrt widgets preinstall
-prepare_widgets.sh
-install_widgets.sh
-
-