[oe-commits] Klaus Kurzmann : fsodatad: add a config file

git version control git at git.openembedded.org
Sat Jan 9 20:57:07 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: dbcb75bd0190f8732b30318b9579929dec8452fa
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=dbcb75bd0190f8732b30318b9579929dec8452fa

Author: Klaus Kurzmann <mok at fluxnetz.de>
Date:   Sat Jan  9 21:53:57 2010 +0100

fsodatad: add a config file

Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>

---

 recipes/freesmartphone/fsodatad/fsodatad.conf |   19 +++++++++++++++++++
 recipes/freesmartphone/fsodatad_git.bb        |   11 ++++++++++-
 2 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/recipes/freesmartphone/fsodatad/fsodatad.conf b/recipes/freesmartphone/fsodatad/fsodatad.conf
new file mode 100644
index 0000000..85919cf
--- /dev/null
+++ b/recipes/freesmartphone/fsodatad/fsodatad.conf
@@ -0,0 +1,19 @@
+#######################################################################################
+# FSO Data 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/fsodatad.log
+
+[fsodata]
+# No settings yet
+
+[fsodata.world]
+# No settings yet
diff --git a/recipes/freesmartphone/fsodatad_git.bb b/recipes/freesmartphone/fsodatad_git.bb
index de13bed..c2933ed 100644
--- a/recipes/freesmartphone/fsodatad_git.bb
+++ b/recipes/freesmartphone/fsodatad_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 += "libxml2 mobile-broadband-provider-info"
+
+SRC_URI += "file://fsodatad.conf"
+
+do_install_append() {
+	install -d ${D}${sysconfdir}/freesmartphone/
+	install -m 0644 ${WORKDIR}/fsodatad.conf ${D}${sysconfdir}/freesmartphone/
+}
+
+FILES_${PN} += "${sysconfdir}/freesmartphone/fsodatad.conf"





More information about the Openembedded-commits mailing list