[Buildroot] [PATCHv3 19/74] gpsd: use <pkg>_INSTALL_INIT_SYSV mechanism
Peter Korsgaard
peter at korsgaard.com
Mon Dec 1 21:59:27 UTC 2014
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
>> +define GPSD_INSTALL_INIT_SYSV
>> + $(INSTALL) -m 0755 -D package/gpsd/S50gpsd $(TARGET_DIR)/etc/init.d/S50gpsd
>> + $(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd
> Unrelated to your patch, but since the variable is a plural DEVICES, I
> would expect to be able to set more than one device. In this case, what
> is the format of this devices list? Is it comma-separated? If so, the
> sed expression above would break, no?
> (Cc-ing Simon and Gustavo, since they have contributed significantly to
> that package.)
I don't know gpsd, but judging from Config.in, S50gpsd and
http://www.catb.org/gpsd/gpsd.html it looks to be space separated, so it
should be OK (unless one of the words ends up with a comma).
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list