Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
ti:omap3:n9xx-common
>
ti-omap3-sgx
> 0002-Don-t-hide-error-messages.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0002-Don-t-hide-error-messages.patch of Package ti-omap3-sgx
From a00eb8a5050b1cf007db4db121558fe7bd8a97f7 Mon Sep 17 00:00:00 2001 From: Marko Saukko <marko.saukko@jollamobile.com> Date: Sat, 13 Apr 2013 20:24:45 +0000 Subject: [PATCH 2/3] Don't hide error messages. Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com> --- usr/sbin/pvrsrvinit | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/sbin/pvrsrvinit b/usr/sbin/pvrsrvinit index 9ef0715..a309efd 100755 --- a/usr/sbin/pvrsrvinit +++ b/usr/sbin/pvrsrvinit @@ -52,7 +52,7 @@ activate_driver_for_core_rev() test -f /targets/links/scratchbox.config && exit 0 if [ "$1" == "--force" ]; then - modprobe pvrsrvkm &> /dev/null + modprobe pvrsrvkm mkdir -p /var/lib/opengles-sgx-img touch /var/lib/opengles-sgx-img/upgrade else @@ -61,7 +61,7 @@ fi if [ \! -f /proc/pvr/version ]; then if [ "$1" != "--force" ]; then - echo "SGX driver failed to initialize" > /dev/console + echo "SGX driver failed to initialize" fi exit 1 fi @@ -70,12 +70,12 @@ SGX_CORE_REV=$(grep -Eo "SGX revision = ([0-9][.][0-9][.][0-9])" \ /proc/pvr/version | cut -d= -f 2 | tr -d ". ") if [ "$SGX_CORE_REV" = "" ]; then - echo "Unable to determine SGX core revision" > /dev/console + echo "Unable to determine SGX core revision" exit 1 fi if [ \! -f /usr/sbin/pvrsrvinit_r$SGX_CORE_REV ]; then - echo "Unsupported SGX core revision" > /dev/console + echo "Unsupported SGX core revision" exit 1 fi -- 1.7.10.3