[Buildroot] [PATCH] gpsd: make init script optional

Yann E. MORIN yann.morin.1998 at free.fr
Sun Jun 16 13:09:04 UTC 2013


Simon, All,

On 2013-06-16 12:34 +0100, spdawson at gmail.com spake thusly:
> +config BR2_PACKAGE_GPSD_INSTALL_INITSCRIPT
> +	bool "install init script"
> +	default y
> +	depends on BR2_PACKAGE_GPSD
> +	help
> +	  Install a gpsd init script
> +

Why would one not want the init script? Is this because of systemd? If so,
then you should use GPSD_INSTALL_INIT_SYSV and GPSD_INSTALL_INIT_SYSTEMD
as pointed out by Maxime.

This ensures the init script will only be installed if a SysV init
scheme is used (and conversely for the systemd unit).

Otherwise, please expand on why not wanting the init script should be
configurable at all.

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.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list