[oe-commits] Klaus Kurzmann : fsousaged: add a general config file and one for om-gta02 machine

git version control git at git.openembedded.org
Fri Jan 8 22:38:10 UTC 2010


Module: openembedded.git
Branch: shr/merge
Commit: 220405a05589222ff56d8e09d61c75055d262b40
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=220405a05589222ff56d8e09d61c75055d262b40

Author: Klaus Kurzmann <mok at fluxnetz.de>
Date:   Fri Jan  8 23:33:13 2010 +0100

fsousaged: add a general config file and one for om-gta02 machine

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

---

 recipes/freesmartphone/fsousaged/fsousaged.conf    |   32 ++++++++++++++++++++
 .../fsousaged/om-gta02/fsousaged.conf              |   32 ++++++++++++++++++++
 recipes/freesmartphone/fsousaged_git.bb            |   11 ++++++-
 3 files changed, 74 insertions(+), 1 deletions(-)

diff --git a/recipes/freesmartphone/fsousaged/fsousaged.conf b/recipes/freesmartphone/fsousaged/fsousaged.conf
new file mode 100644
index 0000000..542bc75
--- /dev/null
+++ b/recipes/freesmartphone/fsousaged/fsousaged.conf
@@ -0,0 +1,32 @@
+#######################################################################################
+# FSO Usage 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/fsousaged.log
+
+[fsousage]
+# Which low level suspend/resume variant to use: none (default), kernel26, openmoko
+lowlevel_type = kernel26
+# FOR DEBUGGING ONLY: Do not suspend, but instead sleep a couple of seconds
+debug_do_not_suspend = 0
+# FOR DEBUGGING ONLY: Enable every registered resource on startup
+debug_enable_on_startup = 0
+# FOR DEBUGGING ONLY: Whether resource activation should be synchronized with the registration lifecycle: always (default), startup, shutdown, never
+sync_resources_with_lifecycle = always
+
+[fsousage.lowlevel_kernel26]
+# No settings yet
+
+[fsousage.lowlevel_openmoko]
+# No settings yet
+
+[fsousage.dbus_service]
+# No settings yet
diff --git a/recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf b/recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf
new file mode 100644
index 0000000..1e57613
--- /dev/null
+++ b/recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf
@@ -0,0 +1,32 @@
+#######################################################################################
+# FSO Usage 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/fsousaged.log
+
+[fsousage]
+# Which low level suspend/resume variant to use: none (default), kernel26, openmoko
+lowlevel_type = openmoko
+# FOR DEBUGGING ONLY: Do not suspend, but instead sleep a couple of seconds
+debug_do_not_suspend = 0
+# FOR DEBUGGING ONLY: Enable every registered resource on startup
+debug_enable_on_startup = 0
+# FOR DEBUGGING ONLY: Whether resource activation should be synchronized with the registration lifecycle: always (default), startup, shutdown, never
+sync_resources_with_lifecycle = always
+
+[fsousage.lowlevel_kernel26]
+# No settings yet
+
+[fsousage.lowlevel_openmoko]
+# No settings yet
+
+[fsousage.dbus_service]
+# No settings yet
diff --git a/recipes/freesmartphone/fsousaged_git.bb b/recipes/freesmartphone/fsousaged_git.bb
index a7e4a1c..0157df5 100644
--- a/recipes/freesmartphone/fsousaged_git.bb
+++ b/recipes/freesmartphone/fsousaged_git.bb
@@ -1,4 +1,13 @@
 require cornucopia.inc
 inherit fso-plugin
 PV = "0.9.0.1+gitr${SRCREV}"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
+
+SRC_URI += "file://fsousaged.conf"
+
+do_install_append() {
+	install -d ${D}${sysconfdir}/freesmartphone/
+	install -m 0644 ${WORKDIR}/fsousaged.conf ${D}${sysconfdir}/freesmartphone/
+}
+
+FILES_${PN} += "${sysconfdir}/freesmartphone/fsousaged.conf"





More information about the Openembedded-commits mailing list