diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:29:32 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:29:32 +0200 |
commit | 6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f (patch) | |
tree | 814ad3da280833de03535ca04cf5068da1d31822 /meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch | |
download | meta-eca-daisy-enea.tar.gz |
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch')
-rw-r--r-- | meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch b/meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch new file mode 100644 index 0000000..421beba --- /dev/null +++ b/meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From 5365d78227f3c44338079e8c9c69494d038bfa6c Mon Sep 17 00:00:00 2001 | ||
2 | From: Jukka Rissanen <jukka.rissanen@linux.intel.com> | ||
3 | Date: Wed, 13 Mar 2013 11:15:21 +0200 | ||
4 | Subject: [PATCH 1/3] doc: Debugging in host that uses systemd | ||
5 | |||
6 | Upstream-Status: Denied | ||
7 | |||
8 | Not accepted as distros can override the default ConnMan service file. | ||
9 | |||
10 | Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> | ||
11 | --- | ||
12 | README | 16 ++++++++++++++++ | ||
13 | 1 file changed, 16 insertions(+) | ||
14 | |||
15 | diff --git a/README b/README | ||
16 | index bfb246a..e97b536 100644 | ||
17 | --- a/README | ||
18 | +++ b/README | ||
19 | @@ -246,6 +246,22 @@ Following environment variables can be used: | ||
20 | Example: | ||
21 | CONNMAN_WEB_DEBUG=1 src/connmand -n | ||
22 | |||
23 | +If the host is using systemd when starting ConnMan, then one can activate | ||
24 | +debugging easily by creating /etc/connman/connmand.env file and setting | ||
25 | +debug options there. By default the env file does not exist. | ||
26 | + | ||
27 | +The following example would activate debugging in src/s*.c files and | ||
28 | +also turn on Internet connectivity check debugging if placed into | ||
29 | +connmand.env file: | ||
30 | + DEBUG=-d src/s*.c | ||
31 | + CONNMAN_WEB_DEBUG=1 | ||
32 | + | ||
33 | +Note that one should not use quotation marks in env file as the systemd | ||
34 | +will not use shell to expand them. | ||
35 | + | ||
36 | +For connman-vpnd daemon debugging, a similiar /etc/connman/connman-vpnd.env | ||
37 | +file can be created. | ||
38 | + | ||
39 | |||
40 | Kernel configuration | ||
41 | ==================== | ||
42 | -- | ||
43 | 1.7.11.4 | ||
44 | |||