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"
- 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
- 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
--- /dev/null
+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
--- /dev/null
+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
--- /dev/null
+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
+
--- /dev/null
+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
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
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
--- /dev/null
+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
--- /dev/null
+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
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
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
--- /dev/null
+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
--- /dev/null
+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
+Summary: Generic Adaptation
Description: Generic Adaptation
Name: generic-adaptation
Packages:
- linux-firmware
-Summary: Generic Adaptation
+Summary: Generic Applications
Description: Generic Applications
Name: generic-applications
Packages:
- ail
- ca-certificates
- ca-certificates-mozilla
-Summary: Generic Applications
+Summary: Generic Automated QA Tools
Description: Generic Automated QA Tools
Name: generic-autoqa
Packages:
- testkit-lite
- screen
- which
-Summary: Generic Automated QA Tools
-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
- glibc-locale
- pciutils
- lrzsz
-Summary: Generic Base Micro System
-Description: Generic Base System
-Name: generic-base-system
+Summary: Generic Base
+Description: Generic Base
+Name: generic-base
Packages:
- e2fsprogs
- connman
- default-ac-domains
- wpa_supplicant
- prelink
-Summary: Generic Base System
+Summary: Generic Bluetooth
Description: Generic Bluetooth
Name: generic-bluetooth
Packages:
- bluetooth-frwk
- bluetooth-share
- bluetooth-tools-no-firmware
-Summary: Generic Bluetooth
+Summary: Generic Console Tools
Description: Generic Console Tools
Name: generic-console-tools
Packages:
- ca-certificates-mozilla
- iptables
- tree
-Summary: Generic Console Tools
+- intel-gpu-tools
--- /dev/null
+Summary: Generic Crosswalk
+Description: Generic Crosswalk
+Name: generic-crosswalk
+Packages:
+- crosswalk
+
+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
+Summary: Generic Development
Description: Generic Development
Name: generic-development
Packages:
- iputils
- iproute2
- which
-Summary: Generic Development
+Summary: Generic Middleware
Description: Generic Middleware
Name: generic-middleware
Packages:
- ofono
- pkgmgr-server
- sqlite3
-Summary: Generic Middleware
+Summary: Generic Multimedia
Description: Generic Multimedia
Name: generic-multimedia
Packages:
- gstreamer-utils
- libva-intel-driver
- vaapi-tools
-Summary: Generic Multimedia
+Summary: Generic Packaging
Description: Generic Packaging
Name: generic-packaging
Packages:
- gpg2
- zypper
-Summary: Generic Packaging
+Summary: Generic QA Tools
Description: Generic QA Tools
Name: generic-qa
Packages:
- ofono-test
- python-xml
- wget
-Summary: Generic QA Tools
--- /dev/null
+Summary: Generic QT5
+Description: Generic QT5
+Name: generic-qt5
+Packages:
+- qt5-tools
+Summary: Generic Wayland
Description: Generic Wayland
Name: generic-wayland
Packages:
- tizen-branding-default
- user-session-units
- desktop-skin
-Summary: Generic Wayland
+Summary: Generic Webkit
Description: Generic Webkit
-Name: webkit
+Name: generic-webkit
Packages:
- wrt-widgets
- wrt
- 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
+Summary: Generic X11
Description: Generic X11
Name: generic-x11
Packages:
- xf86-input-synaptics
- xf86-video-intel
- xf86-input-keyboard
-Summary: Generic X11
+- xorg-launch-helper
+- enlightenment
+- user-session-units
+++ /dev/null
-################ base-general.post ##################
-
-ln -sf /proc/self/mounts /etc/mtab
-
-rm -rf /root/.zypp
-
+++ /dev/null
-################### base-generic-minimal.post #################
-
-rm /usr/lib/systemd/system/default.target
-ln -sf multi-user.target /usr/lib/systemd/system/default.target
+++ /dev/null
-#################### 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
-
--- /dev/null
+############### generic-adaptation.post ################
--- /dev/null
+############### generic-applications.post ################
+
-##################### autoqa.post #######################
+##################### generic-autoqa.post #######################
# generate private/public key for autologin as root
--- /dev/null
+############### generic-base-micro.post ################
+
--- /dev/null
+################ 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
+
+
--- /dev/null
+############### generic-bluetooth.post ################
+
-##################### 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\]"
_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
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
}
--- /dev/null
+############### 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
--- /dev/null
+############### generic-desktop-applications.post ################
+
--- /dev/null
+############### generic-development.post ################
+
--- /dev/null
+############### generic-middleware.post ################
+
--- /dev/null
+############### 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
--- /dev/null
+############### 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
+
--- /dev/null
+############### generic-qa.post ################
+
--- /dev/null
+############### generic-qt5.post ################
+
--- /dev/null
+#################### 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
+
--- /dev/null
+######### 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
-###################### base-x11-default.post ###################
+###################### generic-x11.post ###################
# enable X11 forwarding on ssh
echo "X11Forwarding yes" >>/etc/ssh/sshd_config
+++ /dev/null
-######################## optimization.post #######################
-
-# Run prelink to speed up dynamic binary/library loading
-/usr/sbin/prelink --all
+++ /dev/null
-##################### rpm.post #######################
-
-rm -f /var/lib/rpm/__db*
-rpmdb --rebuilddb
+++ /dev/null
-##################### vconf-keys-default.post #######################
-
-# Needed to fix TIVI-1629
-vconftool set -t int -f db/setting/default_memory/wap 0
+++ /dev/null
-######### wrt-widgets.post #############
-
-# start wrt widgets preinstall
-prepare_widgets.sh
-install_widgets.sh
-
-