From 146ff92e0e7bfecd4bbeefea6c49a2c82c1feab4 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Thu, 27 Nov 2014 14:09:56 +0100 Subject: [PATCH 01/16] pattern Generic X11: added missing packages Change-Id: I6ebee6f7ab62af2cecb46fdcb6a437534577e4ba Bug-Tizen: TINF-731 Signed-off-by: Stephane Desneux --- patterns/generic-x11.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/patterns/generic-x11.yaml b/patterns/generic-x11.yaml index c2ad5e0..511014a 100644 --- a/patterns/generic-x11.yaml +++ b/patterns/generic-x11.yaml @@ -7,4 +7,10 @@ Packages: - enlightenment - user-session-units - xf86-input-evdev - +- xf86-module-xdbg +- libxcb-dri3 +- libxcb-present +- libxcb-sync +- xdpyinfo +- xeyes +- xrandr -- 2.7.4 From 25326439599a3679bec1eaa31502bab1c0276d5f Mon Sep 17 00:00:00 2001 From: Imran Zaman Date: Fri, 5 Dec 2014 17:15:42 +0200 Subject: [PATCH 02/16] Added Tizen login manager (tlm) to generic base as login manager. tlm service is enabled using profile specific tlm-config gum-utils is added for user management functionalities Change-Id: I0c2ecd87021a680becda95087410cc27c2f3048f Signed-off-by: Imran Zaman --- patterns/generic-base.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patterns/generic-base.yaml b/patterns/generic-base.yaml index 314720f..1e9ac27 100644 --- a/patterns/generic-base.yaml +++ b/patterns/generic-base.yaml @@ -31,3 +31,5 @@ Packages: - wpa_supplicant - prelink - usbutils +- gum-utils +- tlm -- 2.7.4 From 43158dfb5e2e66250c4ce696bdeac69dca8ffa7d Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Thu, 11 Dec 2014 09:30:07 +0100 Subject: [PATCH 03/16] script/generic-base: remove patch on /etc/pam.d/systemd-user Change-Id: Idd778b149b693382aa5ad7b91b5f51c489e4dbb6 Bug-Tizen: TC-2227 Signed-off-by: Stephane Desneux --- scripts/generic-base.post | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/generic-base.post b/scripts/generic-base.post index bfe460d..08ad466 100644 --- a/scripts/generic-base.post +++ b/scripts/generic-base.post @@ -30,19 +30,6 @@ ln -sf /proc/self/mounts /etc/mtab # sdx: fix smack labels on /var/log chsmack -a '*' /var/log -# workaround for bug PTREL-763 -patch -b -p1 -d/ <<'EOF' ---- bad/etc/pam.d/systemd-user 2014-03-20 10:01:36.657843073 +0100 -+++ good/etc/pam.d/systemd-user 2014-03-20 10:06:51.586121696 +0100 -@@ -4,5 +4,6 @@ - - account include system-auth - session include system-auth -+session required pam_systemd.so - auth required pam_deny.so - password required pam_deny.so -EOF - # create appfw dirs inside homes function generic_base_user_exists() { user=$1 -- 2.7.4 From 48ff4579ca01e9e70079edd7c531c85d67c0246c Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Thu, 11 Dec 2014 13:54:17 +0100 Subject: [PATCH 04/16] patterns/generic-(x11,wayland): remove user-session-units which was replaced by tlm Change-Id: Id514042be1a25caea015a3d1072838cb90c52fe4 Signed-off-by: Stephane Desneux --- patterns/generic-wayland.yaml | 1 - patterns/generic-x11.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/patterns/generic-wayland.yaml b/patterns/generic-wayland.yaml index 4a974ce..c5a0636 100644 --- a/patterns/generic-wayland.yaml +++ b/patterns/generic-wayland.yaml @@ -8,4 +8,3 @@ Packages: - mesa - xkeyboard-config - tizen-branding-default -- user-session-units diff --git a/patterns/generic-x11.yaml b/patterns/generic-x11.yaml index 511014a..af5bb2c 100644 --- a/patterns/generic-x11.yaml +++ b/patterns/generic-x11.yaml @@ -5,7 +5,6 @@ Packages: - xorg-server - xorg-launch-helper - enlightenment -- user-session-units - xf86-input-evdev - xf86-module-xdbg - libxcb-dri3 -- 2.7.4 From 30641c6fd8dc4a0bafb9d31a79175c4a34ac713c Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Mon, 5 Jan 2015 15:48:54 +0100 Subject: [PATCH 05/16] Move xf86-video-fbdev to Generic X11 pattern Bug-Tizen: TINF-748 Change-Id: I9c875f75f54205c909618650850e75d86868d4eb Signed-off-by: Stephane Desneux --- patterns/generic-x11.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/patterns/generic-x11.yaml b/patterns/generic-x11.yaml index af5bb2c..7637445 100644 --- a/patterns/generic-x11.yaml +++ b/patterns/generic-x11.yaml @@ -7,6 +7,7 @@ Packages: - enlightenment - xf86-input-evdev - xf86-module-xdbg +- xf86-video-fbdev - libxcb-dri3 - libxcb-present - libxcb-sync -- 2.7.4 From 99e8e2ef92394c2a39a4904ee3bbf9b9a0f63a5d Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Mon, 12 Jan 2015 08:42:02 +0200 Subject: [PATCH 06/16] patterns: generic-middleware: remove calendar-service calendar-service is not started and it also seems there are no dependencies to it so it's better to remove it. Change-Id: I52430874a3e4572a13d9f8a16755f3dda712ced5 Signed-off-by: Mikko Ylinen --- patterns/generic-middleware.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/patterns/generic-middleware.yaml b/patterns/generic-middleware.yaml index e8ddb82..944d766 100644 --- a/patterns/generic-middleware.yaml +++ b/patterns/generic-middleware.yaml @@ -2,7 +2,6 @@ Summary: Generic Middleware Description: Generic Middleware Name: generic-middleware Packages: -- calendar-service - csf-framework - elm-misc - efl-theme-tizen-hd -- 2.7.4 From f56b959e1c6fd74036c6bc98860ae1a40913332f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Fri, 23 Jan 2015 15:30:07 +0100 Subject: [PATCH 07/16] Adding unprotect/protect for buxton direct access MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Buxton direct accesses are granted only to users root and buxton. The database initialisations are running as tizenglobalapp. Inside MIC (image creation) this patch enable ail_initdb and pkg_initdb to run without failure. Change-Id: Iecb973f614316ffd724e7e5618d81225213d8946 Signed-off-by: José Bollo --- scripts/generic-desktop-applications.post | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scripts/generic-desktop-applications.post b/scripts/generic-desktop-applications.post index 1c5f89e..5b89df4 100644 --- a/scripts/generic-desktop-applications.post +++ b/scripts/generic-desktop-applications.post @@ -1,10 +1,26 @@ #!/bin/sh echo "#################### generic-desktop-applications.post ####################" +function generic_desktop_applications_buxton_unprotect() { + chsmack -a '*' /var/lib/buxton || true + chsmack -a '*' /var/lib/buxton/* || true + chmod 0777 /var/lib/buxton || true + chmod 0666 /var/lib/buxton/* || true +} + +function generic_desktop_applications_buxton_protect() { + chmod 0600 /var/lib/buxton/* || true + chmod 0700 /var/lib/buxton || true + chsmack -a System /var/lib/buxton/* || true + chsmack -a System /var/lib/buxton || true +} + # temp workaround to fill each user app_info database with global db infos . /etc/tizen-platform.conf +generic_desktop_applications_buxton_unprotect ail_initdb pkg_initdb +generic_desktop_applications_buxton_protect # depends on generic-base functions function generic_desktop_applications_fix_userhome() { -- 2.7.4 From 89d7b89b7e307ed238749ecad12b3da3e3e679a6 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Thu, 5 Mar 2015 09:24:55 +0100 Subject: [PATCH 08/16] Generic Crosswalk: remove tizen-extensions-crosswalk Per request of developpers for Mobile and Wearable, t-e-crosswalk is moved to profile-specific metas (meta-common, meta-mobile, meta-tv, meta-wearable) Change-Id: Iab8335e9d393f58968724c04845d5935aedc0e17 Signed-off-by: Stephane Desneux --- patterns/generic-crosswalk.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/patterns/generic-crosswalk.yaml b/patterns/generic-crosswalk.yaml index 4161aaa..a1005d1 100644 --- a/patterns/generic-crosswalk.yaml +++ b/patterns/generic-crosswalk.yaml @@ -3,5 +3,4 @@ Description: Generic Crosswalk Name: generic-crosswalk Packages: - crosswalk -- tizen-extensions-crosswalk -- 2.7.4 From e5d0ea97cf5d194ba2e67e27159b7626651b6c56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Thu, 5 Mar 2015 17:14:59 +0100 Subject: [PATCH 09/16] Avoid weird message when pci miss MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Hardware aren't all using PCI bus. This patch improves the user experience by removing error message when PCI is missing. Change-Id: I198f08cb2b81870a2281107f4a0bf69316fcdad0 Signed-off-by: José Bollo --- src/generic-adaptation/generic-adaptation.sh | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/generic-adaptation/generic-adaptation.sh b/src/generic-adaptation/generic-adaptation.sh index 9a2fabb..62def3b 100644 --- a/src/generic-adaptation/generic-adaptation.sh +++ b/src/generic-adaptation/generic-adaptation.sh @@ -1,13 +1,4 @@ -do_gallium=true - -/usr/sbin/lspci \ - | grep 'VGA compatible controller: VMware' >/dev/null 2>&1 \ - || do_gallium=false - -if $do_gallium ; then - EGL_PLATFORM=gallium - export EGL_PLATFORM - - EGL_DRIVER=egl_gallium - export EGL_DRIVER +# enforce use of gallium inside VMware +if /usr/sbin/lspci 2>/dev/null | grep -q 'VGA compatible controller: VMware'; then + export EGL_PLATFORM=gallium EGL_DRIVER=egl_gallium fi -- 2.7.4 From a97ea3f491027e1bdd6d21f811501595d8fc80a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Fri, 23 Jan 2015 17:21:16 +0100 Subject: [PATCH 10/16] Add support for X/Y/Z-modem protocols to the Base System MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit X/Y/Z-modem are protocols for file transfer over serial links. They can be used to send files to and receive them from a device with a serial line (e.g. console) as the only communication channel. Change-Id: I88ef9ae8c8952d0546ae554d573a90eb2acd25fc Signed-off-by: Łukasz Stelmach --- patterns/generic-base.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/patterns/generic-base.yaml b/patterns/generic-base.yaml index 1e9ac27..b242cf3 100644 --- a/patterns/generic-base.yaml +++ b/patterns/generic-base.yaml @@ -33,3 +33,4 @@ Packages: - usbutils - gum-utils - tlm +- lrzsz -- 2.7.4 From 3b00a672d61d02beb7c19a22c667445b8cf39a2f Mon Sep 17 00:00:00 2001 From: Joonsub Lee Date: Mon, 22 Jun 2015 19:50:29 +0900 Subject: [PATCH 11/16] Fix the file's wrong path: make_info_file.sh For running TCT, it needs to run make_info_file.sh file. But there is wrong path in generic-base.post: (/usr/bin/make_info_file.sh -> /etc/make_info_file.sh) Bug report from WonYoung Choi(wy80.choi@samsung.com) Change-Id: Icc97eae4c3c37a7b68c0e9e559467f573f984712 --- scripts/generic-base.post | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generic-base.post b/scripts/generic-base.post index 08ad466..83ef275 100644 --- a/scripts/generic-base.post +++ b/scripts/generic-base.post @@ -60,4 +60,4 @@ function generic_base_fix_user_homedir() { [ "${TZ_BUILD_WITH_EMULATOR}" == "1" ] && generic_base_fix_user_homedir developer # Add info.ini for system-info CAPI (TC-2047) -/usr/bin/make_info_file.sh +/etc/make_info_file.sh -- 2.7.4 From a125a55f5acf74c047fd6c28e4bf7a3986960b42 Mon Sep 17 00:00:00 2001 From: Suchang Woo Date: Thu, 16 Jul 2015 19:40:59 +0900 Subject: [PATCH 12/16] Adding unprotect/protect for buxton2 direct access This patch is the same purpose as the following commit: f56b959e1c6fd74036c6bc98860ae1a40913332f Signed-off-by: Suchang Woo Change-Id: Iae099a150a6cfe13dbb2b17cb00578544a1de651 --- scripts/generic-desktop-applications.post | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/generic-desktop-applications.post b/scripts/generic-desktop-applications.post index 5b89df4..15d274c 100644 --- a/scripts/generic-desktop-applications.post +++ b/scripts/generic-desktop-applications.post @@ -6,9 +6,15 @@ function generic_desktop_applications_buxton_unprotect() { chsmack -a '*' /var/lib/buxton/* || true chmod 0777 /var/lib/buxton || true chmod 0666 /var/lib/buxton/* || true + + chmod 0777 /var/lib/buxton2 || true + chmod 0666 /var/lib/buxton2/* || true } function generic_desktop_applications_buxton_protect() { + chmod 0600 /var/lib/buxton2/* || true + chmod 0700 /var/lib/buxton2 || true + chmod 0600 /var/lib/buxton/* || true chmod 0700 /var/lib/buxton || true chsmack -a System /var/lib/buxton/* || true -- 2.7.4 From 23e2c7b03e819bbe73888395512fc84af4608e28 Mon Sep 17 00:00:00 2001 From: Suchang Woo Date: Wed, 22 Jul 2015 21:30:19 +0900 Subject: [PATCH 13/16] Replace Buxton with Buxton2 in post script Signed-off-by: Suchang Woo Change-Id: I49b1f35043a0d7355266fe86e5b5f281b846cd82 --- scripts/generic-desktop-applications.post | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/scripts/generic-desktop-applications.post b/scripts/generic-desktop-applications.post index 15d274c..b5a89ca 100644 --- a/scripts/generic-desktop-applications.post +++ b/scripts/generic-desktop-applications.post @@ -2,11 +2,8 @@ echo "#################### generic-desktop-applications.post ####################" function generic_desktop_applications_buxton_unprotect() { - chsmack -a '*' /var/lib/buxton || true - chsmack -a '*' /var/lib/buxton/* || true - chmod 0777 /var/lib/buxton || true - chmod 0666 /var/lib/buxton/* || true - + chsmack -a '*' /var/lib/buxton2 || true + chsmack -a '*' /var/lib/buxton2/* || true chmod 0777 /var/lib/buxton2 || true chmod 0666 /var/lib/buxton2/* || true } @@ -14,11 +11,8 @@ function generic_desktop_applications_buxton_unprotect() { function generic_desktop_applications_buxton_protect() { chmod 0600 /var/lib/buxton2/* || true chmod 0700 /var/lib/buxton2 || true - - chmod 0600 /var/lib/buxton/* || true - chmod 0700 /var/lib/buxton || true - chsmack -a System /var/lib/buxton/* || true - chsmack -a System /var/lib/buxton || true + chsmack -a System /var/lib/buxton2/* || true + chsmack -a System /var/lib/buxton2 || true } # temp workaround to fill each user app_info database with global db infos @@ -34,7 +28,7 @@ function generic_desktop_applications_fix_userhome() { generic_base_user_exists $user || return 1 homedir=$(generic_base_user_home $user) - + echo "Fix app_info.db of $user" chown -R $user:users $homedir/.applications/dbspace/ } -- 2.7.4 From d94d0b37598ec73f698b70e1d93bdabb3a46eae2 Mon Sep 17 00:00:00 2001 From: HyungGi Lee Date: Thu, 23 Jul 2015 18:37:41 +0900 Subject: [PATCH 14/16] [TINF-1040] remove pulseaudio-config package from Tizen 3.0 binary pulseaudio-config contains model dependancy configuration files. As these files are also installed by mmfw-sysconf package, pulseaudio-config package needed to be removed. Change-Id: I9649d6ae6d52a3307ae94da40d5fc6f10c803df6 Signed-off-by: HyungGi Lee --- patterns/generic-multimedia.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/patterns/generic-multimedia.yaml b/patterns/generic-multimedia.yaml index a05fca7..295914b 100644 --- a/patterns/generic-multimedia.yaml +++ b/patterns/generic-multimedia.yaml @@ -5,7 +5,6 @@ Packages: - alsa-utils - alsa-plugins-pulse - pulseaudio -- pulseaudio-config - pulseaudio-locale - pulseaudio-module-bluetooth - pulseaudio-utils -- 2.7.4 From 855bfcde1cba6b1b3ad498ab3a709975ed32bed2 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Wed, 24 Jun 2015 11:45:26 +0200 Subject: [PATCH 15/16] patterns/generic-middleware: remove security-server Change-Id: I931e3f50d69a794fdcf695a2268c618f5dc97b76 Signed-off-by: Stephane Desneux --- patterns/generic-middleware.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/patterns/generic-middleware.yaml b/patterns/generic-middleware.yaml index 944d766..274a31b 100644 --- a/patterns/generic-middleware.yaml +++ b/patterns/generic-middleware.yaml @@ -11,4 +11,3 @@ Packages: - pkgmgr-server - sqlite3 - sdbd -- security-server -- 2.7.4 From cdbf7427c25d837e330a89b6441d1a30be08c209 Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Fri, 4 Sep 2015 13:30:48 +0900 Subject: [PATCH 16/16] Add pkgdir_maker tool pkgdir_maker tool makes data/cache dirs for global applications at each user application dirs(under $HOME/apps_rw). refer to following link for more details: https://review.tizen.org/gerrit/#/c/47450/ Change-Id: I2e75307fcaa14217e68e2ed57dc394d4a67826d4 Signed-off-by: Sangyoon Jang --- scripts/generic-desktop-applications.post | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/generic-desktop-applications.post b/scripts/generic-desktop-applications.post index b5a89ca..3884799 100644 --- a/scripts/generic-desktop-applications.post +++ b/scripts/generic-desktop-applications.post @@ -20,6 +20,7 @@ function generic_desktop_applications_buxton_protect() { generic_desktop_applications_buxton_unprotect ail_initdb pkg_initdb +pkgdir_maker --create --allglobalpkgs generic_desktop_applications_buxton_protect # depends on generic-base functions -- 2.7.4