From: Klaus Kurzmann Date: Sat, 9 Jan 2010 20:54:36 +0000 (+0100) Subject: fsotdld: add a config file X-Git-Tag: Release-2010-05/1~898^2~106^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=150e8d822c777b4d5c260a978e36ba98996707f0;p=openembedded.git fsotdld: add a config file Signed-off-by: Klaus Kurzmann --- diff --git a/recipes/freesmartphone/fsotdld/fsotdld.conf b/recipes/freesmartphone/fsotdld/fsotdld.conf new file mode 100644 index 0000000000..07e91b0ff8 --- /dev/null +++ b/recipes/freesmartphone/fsotdld/fsotdld.conf @@ -0,0 +1,43 @@ +####################################################################################### +# FSO Time Date Location Daemon Configuration File -- for SYSTEM INTEGRATORS only +######################################################################################## +[logging] +# Log level: DEBUG, INFO (default), WARNING, ERROR +# Override via environment as FSO_LOG_LEVEL +log_level = INFO +# Where to log to: none (default), stderr, stderr:colors, file, syslog +# Override via environment as FSO_LOG_TO +log_to = file +# Log Destination (valid only for log_to = file) +# Override via environment as FSO_LOG_DESTINATION +log_destination = /var/log/fsotdld.log + +[fsotdl] +gps_receiver_transport = serial +gps_receiver_port = /dev/rfcomm0 +gps_receiver_speed = 9600 + +[fsotdl.alarm] +# No settings yet + +[fsotdl.source_ntp] +# Which server to use; default is 'pool.ntp.org' +server = time.windows.com + +[fsotdl.source_gsm] +# No settings yet + +[fsotdl.provider_gps_nmea] +# No settings yet + +[fsotdl.provider_gps] +provider_type = nmea + +[fsotdl.sync_time] +# Which sources to use; what is available depends on the loaded modules +sources = ntp;gsm +# Which current timezone file to use; default is /etc/timezone +timezone_file = /etc/timezone +# Path to zoneinfo files, default is /usr/share/zoneinfo +zoneinfo_dir = /usr/share/zoneinfo + diff --git a/recipes/freesmartphone/fsotdld_git.bb b/recipes/freesmartphone/fsotdld_git.bb index a70bf596f5..14659bdeff 100644 --- a/recipes/freesmartphone/fsotdld_git.bb +++ b/recipes/freesmartphone/fsotdld_git.bb @@ -1,6 +1,15 @@ require cornucopia.inc inherit fso-plugin -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" PV = "0.0.0+gitr${SRCREV}" DEPENDS += "libfsotransport libfsoresource" + +SRC_URI += "file://fsotdld.conf" + +do_install_append() { + install -d ${D}${sysconfdir}/freesmartphone/ + install -m 0644 ${WORKDIR}/fsotdld.conf ${D}${sysconfdir}/freesmartphone/ +} + +FILES_${PN} += "${sysconfdir}/freesmartphone/fsotdld.conf"