[oe-commits] Klaus Kurzmann : fsotdld: add a config file
git version control
git at git.openembedded.org
Sat Jan 9 21:53:37 UTC 2010
Module: openembedded.git
Branch: martin_jansa/srcpv
Commit: 150e8d822c777b4d5c260a978e36ba98996707f0
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=150e8d822c777b4d5c260a978e36ba98996707f0
Author: Klaus Kurzmann <mok at fluxnetz.de>
Date: Sat Jan 9 21:54:36 2010 +0100
fsotdld: add a config file
Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>
---
recipes/freesmartphone/fsotdld/fsotdld.conf | 43 +++++++++++++++++++++++++++
recipes/freesmartphone/fsotdld_git.bb | 11 ++++++-
2 files changed, 53 insertions(+), 1 deletions(-)
diff --git a/recipes/freesmartphone/fsotdld/fsotdld.conf b/recipes/freesmartphone/fsotdld/fsotdld.conf
new file mode 100644
index 0000000..07e91b0
--- /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 a70bf59..14659bd 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"
More information about the Openembedded-commits
mailing list