~ci-train-bot/location-service/location-service-ubuntu-vivid-landing-019

« back to all changes in this revision

Viewing changes to doc/tips_n_tricks.md

  • Committer: thomas-voss
  • Date: 2015-02-02 15:05:32 UTC
  • mto: This revision was merged to the branch mainline in revision 196.
  • Revision ID: thomas.voss@canonical.com-20150202150532-9jm6l7ctsey92zka
Add documentation for debugging, hacking and debugging the location service.
Pull manual testing instructions over from the wiki.
Add tools for formatting the source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Tips'n'Tricks
 
2
 
 
3
## Mark HERE license as accepted from cmdline
 
4
 
 
5
    sudo LC_ALL=C gdbus call --system --dest org.freedesktop.Accounts --object-path /org/freedesktop/Accounts/User32011 --method org.freedesktop.DBus.Properties.Set com.ubuntu.location.providers.here.AccountsService LicenseAccepted '<true>'
 
6
 
 
7
## Force startup after ofono and NM are started
 
8
 
 
9
This is a *workaround* to get connectivity API to collect; mount your
 
10
system read-write and edit
 
11
/etc/init/ubuntu-location-provider-here-slpgwd.conf:
 
12
 
 
13
    sudo mount -o remount,rw /
 
14
    sudo vi /etc/init/ubuntu-location-provider-here-slpgwd.conf
 
15
 
 
16
change: `start on started dbus and (started ofono or started network-manager)`
 
17
to: `start on started dbus and started ofono and started network-manager`
 
18
 
 
19
    sudo mount -o remount,ro /
 
20
    sync
 
21
    sudo reboot