radio: Update default presets location 85/22385/2
authorScott Murray <scott.murray@konsulko.com>
Mon, 9 Sep 2019 23:58:59 +0000 (19:58 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 12 Sep 2019 21:37:38 +0000 (21:37 +0000)
commita69b28b39782627a424d53314955343bc7fef78e
tree636aa7803c576d0ff5bb4e3634be8cf41b1a5467
parentae2d9caf2bc3b0a87bddbf0c2edeb8d5cb23d3b2
radio: Update default presets location

Since the changes to run the applications as non-root, the location
of the default preset file has not matched with the agl-driver user
the application runs as.  Since simply changing the install location
to /home/1001 would require some post-install SMACK label tinkering,
and is perhaps fragile to the application user, the files are now
instead installed to /etc/xdg/AGL, with the defaults to be used named
radio-presets.conf.  A corresponding change to the radio application
to look in that location before trying the appdata directory is also
required.

Bug-AGL: SPEC-2789

Change-Id: Ic5756420e21471096b74b476ad243e44e87ef561
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit abe2d9282954936e222c2989c1d6bbbbead939fc)
recipes-demo-hmi/radio/radio_git.bb