All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version
@ 2014-08-06 13:39 Benoît Thébaudeau
  2014-08-06 13:39 ` [Buildroot] [PATCH v2 2/3] rpi-userland: .mk: Indent rules with tabs Benoît Thébaudeau
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Benoît Thébaudeau @ 2014-08-06 13:39 UTC (permalink / raw)
  To: buildroot

Bump version to f9e6f9f3def8dc18dc0092cd695ccf53b8ba3efe and revert local commit
f22830e456833e98e11f09d2aa38017f5aaa557c 'rpi-userland: add patch fix missing
libvcilcs install rules' in order to replace the local patch from this commit by
the upstream commit 1ecc49c97b7be3d524cb4cfc97401f16b485a4ee 'vmcs_host: Fix
missing install of libvcilcs.so'.

Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>

---

Changes in v2: New patch
---
 ...vmcs_host-add-install-rules-for-libvcilcs.patch | 23 ----------------------
 package/rpi-userland/rpi-userland.mk               |  2 +-
 2 files changed, 1 insertion(+), 24 deletions(-)
 delete mode 100644 package/rpi-userland/rpi-userland-003-interface-vmcs_host-add-install-rules-for-libvcilcs.patch

diff --git a/package/rpi-userland/rpi-userland-003-interface-vmcs_host-add-install-rules-for-libvcilcs.patch b/package/rpi-userland/rpi-userland-003-interface-vmcs_host-add-install-rules-for-libvcilcs.patch
deleted file mode 100644
index 05cf4b3..0000000
--- a/package/rpi-userland/rpi-userland-003-interface-vmcs_host-add-install-rules-for-libvcilcs.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From b60398837ddf39d4b605600abc167d4366e454a6 Mon Sep 17 00:00:00 2001
-From: Samuel Martin <s.martin49@gmail.com>
-Date: Thu, 5 Jun 2014 00:06:08 +0200
-Subject: [PATCH] interface/vmcs_host: add install rules for libvcilcs
-
-Signed-off-by: Samuel Martin <s.martin49@gmail.com>
----
- interface/vmcs_host/CMakeLists.txt | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt
-index 64ba2f8..8510f81 100755
---- a/interface/vmcs_host/CMakeLists.txt
-+++ b/interface/vmcs_host/CMakeLists.txt
-@@ -33,4 +33,5 @@ target_link_libraries(vchostif vchiq_arm vcos vcfiled_check)
- 
- add_subdirectory(linux/vcfiled)
- install(TARGETS vchostif DESTINATION lib)
-+install(TARGETS vcilcs DESTINATION lib)
- 
--- 
-2.0.0
-
diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
index 717eab1..20f68fa 100644
--- a/package/rpi-userland/rpi-userland.mk
+++ b/package/rpi-userland/rpi-userland.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RPI_USERLAND_VERSION = b555474b19310762255252d085e57599ea573889
+RPI_USERLAND_VERSION = f9e6f9f3def8dc18dc0092cd695ccf53b8ba3efe
 RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
 RPI_USERLAND_LICENSE = BSD-3c
 RPI_USERLAND_LICENSE_FILES = LICENCE
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 2/3] rpi-userland: .mk: Indent rules with tabs
  2014-08-06 13:39 [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version Benoît Thébaudeau
@ 2014-08-06 13:39 ` Benoît Thébaudeau
  2014-08-06 17:25   ` Yann E. MORIN
  2014-08-06 17:44   ` Thomas Petazzoni
  2014-08-06 13:39 ` [Buildroot] [PATCH v2 3/3] rpi-userland: Fix vcfiled startup Benoît Thébaudeau
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 11+ messages in thread
From: Benoît Thébaudeau @ 2014-08-06 13:39 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>

---

Changes in v2: New patch
---
 package/rpi-userland/rpi-userland.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
index 20f68fa..81ed95c 100644
--- a/package/rpi-userland/rpi-userland.mk
+++ b/package/rpi-userland/rpi-userland.mk
@@ -14,7 +14,7 @@ RPI_USERLAND_CONF_OPT = -DVMCS_INSTALL_PREFIX=/usr
 RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
 
 define RPI_USERLAND_POST_TARGET_CLEANUP
-    rm -Rf $(TARGET_DIR)/usr/src
+	rm -Rf $(TARGET_DIR)/usr/src
 endef
 RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/3] rpi-userland: Fix vcfiled startup
  2014-08-06 13:39 [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version Benoît Thébaudeau
  2014-08-06 13:39 ` [Buildroot] [PATCH v2 2/3] rpi-userland: .mk: Indent rules with tabs Benoît Thébaudeau
@ 2014-08-06 13:39 ` Benoît Thébaudeau
  2014-08-06 17:33   ` Yann E. MORIN
  2014-08-06 17:25 ` [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version Yann E. MORIN
  2014-08-06 17:44 ` Thomas Petazzoni
  3 siblings, 1 reply; 11+ messages in thread
From: Benoît Thébaudeau @ 2014-08-06 13:39 UTC (permalink / raw)
  To: buildroot

The VideoCore file server daemon startup script installed from this package is
not compatible with BuildRoot (because of its naming and other Debian
dependencies), which prevented vcfiled from starting. Hence, prevent this
package from installing its vcfiled startup script, and install a vcfiled SysV
init script suitable for BuildRoot.

Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>

---

Changes in v2:
 - Indent .mk rules with tabs.
 - Simplify the new vcfiled startup script.
 - Rename S97vcfiled to S94vcfiled for a better integration with existing init
   scripts.
---
 package/rpi-userland/S94vcfiled      | 47 ++++++++++++++++++++++++++++++++++++
 package/rpi-userland/rpi-userland.mk |  8 ++++++
 2 files changed, 55 insertions(+)
 create mode 100755 package/rpi-userland/S94vcfiled

diff --git a/package/rpi-userland/S94vcfiled b/package/rpi-userland/S94vcfiled
new file mode 100755
index 0000000..25a0fcd
--- /dev/null
+++ b/package/rpi-userland/S94vcfiled
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+NAME=vcfiled
+DESC="VideoCore file server daemon $NAME"
+DAEMON="/usr/sbin/$NAME"
+DAEMON_ARGS=""
+CFGFILE="/etc/default/$NAME"
+PIDFILE="/var/run/$NAME/$NAME"
+
+# Read configuration variable file if it is present
+[ -r "$CFGFILE" ] && . "$CFGFILE"
+
+do_start()
+{
+	echo -n "Starting $DESC: "
+	start-stop-daemon -S -q -p "$PIDFILE" -x "$DAEMON" -- $DAEMON_ARGS &&
+			echo "done" || echo "failed"
+}
+
+do_stop()
+{
+	echo -n "Stopping $DESC: "
+	if start-stop-daemon -K -q -R TERM/30/KILL/5 -p "$PIDFILE" -n "$NAME"; then
+		# This daemon does not remove its PID file when it exits.
+		rm -f "$PIDFILE"
+		echo "done"
+	else
+		echo "failed"
+	fi
+}
+
+case "$1" in
+	start)
+		do_start
+		;;
+	stop)
+		do_stop
+		;;
+	restart|reload)
+		do_stop
+		do_start
+		;;
+	*)
+		echo "Usage: $0 {start|stop|restart|reload}" >&2
+		exit 1
+		;;
+esac
diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
index 81ed95c..0d29f24 100644
--- a/package/rpi-userland/rpi-userland.mk
+++ b/package/rpi-userland/rpi-userland.mk
@@ -13,7 +13,15 @@ RPI_USERLAND_CONF_OPT = -DVMCS_INSTALL_PREFIX=/usr
 
 RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
 
+define RPI_USERLAND_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D package/rpi-userland/S94vcfiled \
+			$(TARGET_DIR)/etc/init.d/S94vcfiled
+endef
+
 define RPI_USERLAND_POST_TARGET_CLEANUP
+	rm -f $(TARGET_DIR)/etc/init.d/vcfiled
+	rm -f $(TARGET_DIR)/usr/share/install/vcfiled
+	rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share/install
 	rm -Rf $(TARGET_DIR)/usr/src
 endef
 RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version
  2014-08-06 13:39 [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version Benoît Thébaudeau
  2014-08-06 13:39 ` [Buildroot] [PATCH v2 2/3] rpi-userland: .mk: Indent rules with tabs Benoît Thébaudeau
  2014-08-06 13:39 ` [Buildroot] [PATCH v2 3/3] rpi-userland: Fix vcfiled startup Benoît Thébaudeau
@ 2014-08-06 17:25 ` Yann E. MORIN
  2014-08-06 17:44 ` Thomas Petazzoni
  3 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2014-08-06 17:25 UTC (permalink / raw)
  To: buildroot

Benoit, All,

On 2014-08-06 15:39 +0200, Beno?t Th?baudeau spake thusly:
> Bump version to f9e6f9f3def8dc18dc0092cd695ccf53b8ba3efe and revert local commit
> f22830e456833e98e11f09d2aa38017f5aaa557c 'rpi-userland: add patch fix missing
> libvcilcs install rules' in order to replace the local patch from this commit by
> the upstream commit 1ecc49c97b7be3d524cb4cfc97401f16b485a4ee 'vmcs_host: Fix
> missing install of libvcilcs.so'.
> 
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

I'll try to find some time to test it tonight.

Regards,
Yann E. MORIN.

> ---
> 
> Changes in v2: New patch
> ---
>  ...vmcs_host-add-install-rules-for-libvcilcs.patch | 23 ----------------------
>  package/rpi-userland/rpi-userland.mk               |  2 +-
>  2 files changed, 1 insertion(+), 24 deletions(-)
>  delete mode 100644 package/rpi-userland/rpi-userland-003-interface-vmcs_host-add-install-rules-for-libvcilcs.patch
> 
> diff --git a/package/rpi-userland/rpi-userland-003-interface-vmcs_host-add-install-rules-for-libvcilcs.patch b/package/rpi-userland/rpi-userland-003-interface-vmcs_host-add-install-rules-for-libvcilcs.patch
> deleted file mode 100644
> index 05cf4b3..0000000
> --- a/package/rpi-userland/rpi-userland-003-interface-vmcs_host-add-install-rules-for-libvcilcs.patch
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -From b60398837ddf39d4b605600abc167d4366e454a6 Mon Sep 17 00:00:00 2001
> -From: Samuel Martin <s.martin49@gmail.com>
> -Date: Thu, 5 Jun 2014 00:06:08 +0200
> -Subject: [PATCH] interface/vmcs_host: add install rules for libvcilcs
> -
> -Signed-off-by: Samuel Martin <s.martin49@gmail.com>
> ----
> - interface/vmcs_host/CMakeLists.txt | 1 +
> - 1 file changed, 1 insertion(+)
> -
> -diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt
> -index 64ba2f8..8510f81 100755
> ---- a/interface/vmcs_host/CMakeLists.txt
> -+++ b/interface/vmcs_host/CMakeLists.txt
> -@@ -33,4 +33,5 @@ target_link_libraries(vchostif vchiq_arm vcos vcfiled_check)
> - 
> - add_subdirectory(linux/vcfiled)
> - install(TARGETS vchostif DESTINATION lib)
> -+install(TARGETS vcilcs DESTINATION lib)
> - 
> --- 
> -2.0.0
> -
> diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
> index 717eab1..20f68fa 100644
> --- a/package/rpi-userland/rpi-userland.mk
> +++ b/package/rpi-userland/rpi-userland.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -RPI_USERLAND_VERSION = b555474b19310762255252d085e57599ea573889
> +RPI_USERLAND_VERSION = f9e6f9f3def8dc18dc0092cd695ccf53b8ba3efe
>  RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
>  RPI_USERLAND_LICENSE = BSD-3c
>  RPI_USERLAND_LICENSE_FILES = LICENCE
> -- 
> 1.9.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 2/3] rpi-userland: .mk: Indent rules with tabs
  2014-08-06 13:39 ` [Buildroot] [PATCH v2 2/3] rpi-userland: .mk: Indent rules with tabs Benoît Thébaudeau
@ 2014-08-06 17:25   ` Yann E. MORIN
  2014-08-06 17:44   ` Thomas Petazzoni
  1 sibling, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2014-08-06 17:25 UTC (permalink / raw)
  To: buildroot

Benoit, All,

On 2014-08-06 15:39 +0200, Beno?t Th?baudeau spake thusly:
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
> 
> Changes in v2: New patch
> ---
>  package/rpi-userland/rpi-userland.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
> index 20f68fa..81ed95c 100644
> --- a/package/rpi-userland/rpi-userland.mk
> +++ b/package/rpi-userland/rpi-userland.mk
> @@ -14,7 +14,7 @@ RPI_USERLAND_CONF_OPT = -DVMCS_INSTALL_PREFIX=/usr
>  RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
>  
>  define RPI_USERLAND_POST_TARGET_CLEANUP
> -    rm -Rf $(TARGET_DIR)/usr/src
> +	rm -Rf $(TARGET_DIR)/usr/src
>  endef
>  RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP
>  
> -- 
> 1.9.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/3] rpi-userland: Fix vcfiled startup
  2014-08-06 13:39 ` [Buildroot] [PATCH v2 3/3] rpi-userland: Fix vcfiled startup Benoît Thébaudeau
@ 2014-08-06 17:33   ` Yann E. MORIN
  2014-08-06 17:40     ` Benoît Thébaudeau
  0 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2014-08-06 17:33 UTC (permalink / raw)
  To: buildroot

Benoit, All,

On 2014-08-06 15:39 +0200, Beno?t Th?baudeau spake thusly:
> The VideoCore file server daemon startup script installed from this package is
> not compatible with BuildRoot (because of its naming and other Debian
> dependencies), which prevented vcfiled from starting. Hence, prevent this
> package from installing its vcfiled startup script, and install a vcfiled SysV
> init script suitable for BuildRoot.

I'm not sure I would be happy that the GPU is allowed uncontrolled
access to the filesystem.

Please, make this an option, defaulting to 'n', so the user can
willingly choose to install it or not.

Otherwise, see below...

> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
[--SNIP--]
> diff --git a/package/rpi-userland/S94vcfiled b/package/rpi-userland/S94vcfiled
> new file mode 100755
> index 0000000..25a0fcd
> --- /dev/null
> +++ b/package/rpi-userland/S94vcfiled
> @@ -0,0 +1,47 @@
> +#!/bin/sh
> +
> +NAME=vcfiled
> +DESC="VideoCore file server daemon $NAME"
> +DAEMON="/usr/sbin/$NAME"
> +DAEMON_ARGS=""
> +CFGFILE="/etc/default/$NAME"
> +PIDFILE="/var/run/$NAME/$NAME"

Are you sure about the path to the PID file?
What about:
    PIDFILE="/var/run/$NAME.pid"

Othwerwise, looks good after a casual look. Ditto your previous patches,
I'll try to find some time tonight to test it.

Regards,
Yann E. MORIN.

> +# Read configuration variable file if it is present
> +[ -r "$CFGFILE" ] && . "$CFGFILE"
> +
> +do_start()
> +{
> +	echo -n "Starting $DESC: "
> +	start-stop-daemon -S -q -p "$PIDFILE" -x "$DAEMON" -- $DAEMON_ARGS &&
> +			echo "done" || echo "failed"
> +}
> +
> +do_stop()
> +{
> +	echo -n "Stopping $DESC: "
> +	if start-stop-daemon -K -q -R TERM/30/KILL/5 -p "$PIDFILE" -n "$NAME"; then
> +		# This daemon does not remove its PID file when it exits.
> +		rm -f "$PIDFILE"
> +		echo "done"
> +	else
> +		echo "failed"
> +	fi
> +}
> +
> +case "$1" in
> +	start)
> +		do_start
> +		;;
> +	stop)
> +		do_stop
> +		;;
> +	restart|reload)
> +		do_stop
> +		do_start
> +		;;
> +	*)
> +		echo "Usage: $0 {start|stop|restart|reload}" >&2
> +		exit 1
> +		;;
> +esac
> diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
> index 81ed95c..0d29f24 100644
> --- a/package/rpi-userland/rpi-userland.mk
> +++ b/package/rpi-userland/rpi-userland.mk
> @@ -13,7 +13,15 @@ RPI_USERLAND_CONF_OPT = -DVMCS_INSTALL_PREFIX=/usr
>  
>  RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
>  
> +define RPI_USERLAND_INSTALL_INIT_SYSV
> +	$(INSTALL) -m 0755 -D package/rpi-userland/S94vcfiled \
> +			$(TARGET_DIR)/etc/init.d/S94vcfiled
> +endef
> +
>  define RPI_USERLAND_POST_TARGET_CLEANUP
> +	rm -f $(TARGET_DIR)/etc/init.d/vcfiled
> +	rm -f $(TARGET_DIR)/usr/share/install/vcfiled
> +	rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share/install
>  	rm -Rf $(TARGET_DIR)/usr/src
>  endef
>  RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP
> -- 
> 1.9.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/3] rpi-userland: Fix vcfiled startup
  2014-08-06 17:33   ` Yann E. MORIN
@ 2014-08-06 17:40     ` Benoît Thébaudeau
  2014-08-06 19:56       ` Benoît Thébaudeau
  0 siblings, 1 reply; 11+ messages in thread
From: Benoît Thébaudeau @ 2014-08-06 17:40 UTC (permalink / raw)
  To: buildroot

Dear Yann E. MORIN,

On Wednesday, August 6, 2014 7:33:51 PM, Yann E. MORIN wrote:
> Benoit, All,
> 
> On 2014-08-06 15:39 +0200, Beno?t Th?baudeau spake thusly:
> > The VideoCore file server daemon startup script installed from this package
> > is
> > not compatible with BuildRoot (because of its naming and other Debian
> > dependencies), which prevented vcfiled from starting. Hence, prevent this
> > package from installing its vcfiled startup script, and install a vcfiled
> > SysV
> > init script suitable for BuildRoot.
> 
> I'm not sure I would be happy that the GPU is allowed uncontrolled
> access to the filesystem.
> 
> Please, make this an option, defaulting to 'n', so the user can
> willingly choose to install it or not.

Will do.

> Otherwise, see below...
> 
> > Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
> [--SNIP--]
> > diff --git a/package/rpi-userland/S94vcfiled
> > b/package/rpi-userland/S94vcfiled
> > new file mode 100755
> > index 0000000..25a0fcd
> > --- /dev/null
> > +++ b/package/rpi-userland/S94vcfiled
> > @@ -0,0 +1,47 @@
> > +#!/bin/sh
> > +
> > +NAME=vcfiled
> > +DESC="VideoCore file server daemon $NAME"
> > +DAEMON="/usr/sbin/$NAME"
> > +DAEMON_ARGS=""
> > +CFGFILE="/etc/default/$NAME"
> > +PIDFILE="/var/run/$NAME/$NAME"
> 
> Are you sure about the path to the PID file?
> What about:
>     PIDFILE="/var/run/$NAME.pid"

Yes, sure, this is the path used by vcfiled, which creates its PID file itself
rather than relying on start-stop-daemon -m for that.

> Othwerwise, looks good after a casual look. Ditto your previous patches,
> I'll try to find some time tonight to test it.

Thanks.

[...]

Regards,
Beno?t

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version
  2014-08-06 13:39 [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version Benoît Thébaudeau
                   ` (2 preceding siblings ...)
  2014-08-06 17:25 ` [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version Yann E. MORIN
@ 2014-08-06 17:44 ` Thomas Petazzoni
  3 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2014-08-06 17:44 UTC (permalink / raw)
  To: buildroot

Dear Beno?t Th?baudeau,

On Wed,  6 Aug 2014 15:39:08 +0200, Beno?t Th?baudeau wrote:
> Bump version to f9e6f9f3def8dc18dc0092cd695ccf53b8ba3efe and revert local commit
> f22830e456833e98e11f09d2aa38017f5aaa557c 'rpi-userland: add patch fix missing
> libvcilcs install rules' in order to replace the local patch from this commit by
> the upstream commit 1ecc49c97b7be3d524cb4cfc97401f16b485a4ee 'vmcs_host: Fix
> missing install of libvcilcs.so'.
> 
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 2/3] rpi-userland: .mk: Indent rules with tabs
  2014-08-06 13:39 ` [Buildroot] [PATCH v2 2/3] rpi-userland: .mk: Indent rules with tabs Benoît Thébaudeau
  2014-08-06 17:25   ` Yann E. MORIN
@ 2014-08-06 17:44   ` Thomas Petazzoni
  1 sibling, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2014-08-06 17:44 UTC (permalink / raw)
  To: buildroot

Dear Beno?t Th?baudeau,

On Wed,  6 Aug 2014 15:39:09 +0200, Beno?t Th?baudeau wrote:
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/3] rpi-userland: Fix vcfiled startup
  2014-08-06 17:40     ` Benoît Thébaudeau
@ 2014-08-06 19:56       ` Benoît Thébaudeau
  2014-08-06 20:02         ` Yann E. MORIN
  0 siblings, 1 reply; 11+ messages in thread
From: Benoît Thébaudeau @ 2014-08-06 19:56 UTC (permalink / raw)
  To: buildroot

Dear Yann E. MORIN,

On Wed, Aug 6, 2014 at 7:40 PM, Beno?t Th?baudeau
<benoit.thebaudeau@advansee.com> wrote:
> Dear Yann E. MORIN,
>
> On Wednesday, August 6, 2014 7:33:51 PM, Yann E. MORIN wrote:
>> Benoit, All,
>>
>> On 2014-08-06 15:39 +0200, Beno?t Th?baudeau spake thusly:

[...]

>> Otherwise, see below...
>>
>> > Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
>> [--SNIP--]
>> > diff --git a/package/rpi-userland/S94vcfiled
>> > b/package/rpi-userland/S94vcfiled
>> > new file mode 100755
>> > index 0000000..25a0fcd
>> > --- /dev/null
>> > +++ b/package/rpi-userland/S94vcfiled
>> > @@ -0,0 +1,47 @@
>> > +#!/bin/sh
>> > +
>> > +NAME=vcfiled
>> > +DESC="VideoCore file server daemon $NAME"
>> > +DAEMON="/usr/sbin/$NAME"
>> > +DAEMON_ARGS=""
>> > +CFGFILE="/etc/default/$NAME"
>> > +PIDFILE="/var/run/$NAME/$NAME"
>>
>> Are you sure about the path to the PID file?
>> What about:
>>     PIDFILE="/var/run/$NAME.pid"
>
> Yes, sure, this is the path used by vcfiled, which creates its PID file itself
> rather than relying on start-stop-daemon -m for that.

I have checked the code, and this path can be overridden by defining
VCFILED_LOCKFILE, so I can set it to '/var/run/vcfiled.pid' if you
really prefer. It's up to you. You tell me.

[...]

Regards,
Beno?t

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/3] rpi-userland: Fix vcfiled startup
  2014-08-06 19:56       ` Benoît Thébaudeau
@ 2014-08-06 20:02         ` Yann E. MORIN
  0 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2014-08-06 20:02 UTC (permalink / raw)
  To: buildroot

Benoit, All,

On 2014-08-06 21:56 +0200, Beno?t Th?baudeau spake thusly:
> > On Wednesday, August 6, 2014 7:33:51 PM, Yann E. MORIN wrote:
> >> On 2014-08-06 15:39 +0200, Beno?t Th?baudeau spake thusly:
> >> > +PIDFILE="/var/run/$NAME/$NAME"
> >>
> >> Are you sure about the path to the PID file?
> >> What about:
> >>     PIDFILE="/var/run/$NAME.pid"
[--SNIP--]
> I have checked the code, and this path can be overridden by defining
> VCFILED_LOCKFILE, so I can set it to '/var/run/vcfiled.pid' if you
> really prefer. It's up to you. You tell me.

Well, I think it would be better, yes. There's no need to create a
directory just to put the PID file.

Thanks!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-08-06 20:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-06 13:39 [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version Benoît Thébaudeau
2014-08-06 13:39 ` [Buildroot] [PATCH v2 2/3] rpi-userland: .mk: Indent rules with tabs Benoît Thébaudeau
2014-08-06 17:25   ` Yann E. MORIN
2014-08-06 17:44   ` Thomas Petazzoni
2014-08-06 13:39 ` [Buildroot] [PATCH v2 3/3] rpi-userland: Fix vcfiled startup Benoît Thébaudeau
2014-08-06 17:33   ` Yann E. MORIN
2014-08-06 17:40     ` Benoît Thébaudeau
2014-08-06 19:56       ` Benoît Thébaudeau
2014-08-06 20:02         ` Yann E. MORIN
2014-08-06 17:25 ` [Buildroot] [PATCH v2 1/3] rpi-userland: Bump version Yann E. MORIN
2014-08-06 17:44 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.