Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
ti:omap3:n9xx-common
>
ti-omap3-sgx
> 0003-Ignore-return-value-and-notify-systemd-that-we-are-d.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0003-Ignore-return-value-and-notify-systemd-that-we-are-d.patch of Package ti-omap3-sgx
From b9d97ce84a677f75b52af8eef4163e9b51f15a92 Mon Sep 17 00:00:00 2001 From: Marko Saukko <marko.saukko@jollamobile.com> Date: Thu, 25 Apr 2013 10:30:00 +0000 Subject: [PATCH 3/3] Ignore return value and notify systemd that we are done. Return value is ignored as it doesn't seem to affect to functionality and if we dont return 0 systemd can think that this service failed and other services that depend on it might not start. Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com> --- usr/sbin/pvrsrvinit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr/sbin/pvrsrvinit b/usr/sbin/pvrsrvinit index a309efd..9db29ad 100755 --- a/usr/sbin/pvrsrvinit +++ b/usr/sbin/pvrsrvinit @@ -87,5 +87,8 @@ if [ "$(readlink /usr/lib/libsrv_um.so)" != "libsrv_um_r${SGX_CORE_REV}.so" -o \ fi if [ "$1" != "--force" ]; then - exec /usr/sbin/pvrsrvinit_r$SGX_CORE_REV + /usr/sbin/pvrsrvinit_r$SGX_CORE_REV + echo "/usr/sbin/pvrsrvinit_r$SGX_CORE_REV returned $(echo $?)." + exec /bin/systemd-notify --ready fi + -- 1.7.10.3