diff options
author | chanywa <cbible.kim@samsung.com> | 2017-08-21 14:59:35 +0900 |
---|---|---|
committer | chanywa <cbible.kim@samsung.com> | 2017-08-21 15:19:56 +0900 |
commit | efa0785818293be00ea4ec791bef07260c65560b (patch) | |
tree | 8551377f81cca448315f3dd2b76bf037643c2609 | |
parent | 455960f2b4c3db00e29bad038044da9398583b37 (diff) | |
download | building-blocks-efa0785818293be00ea4ec791bef07260c65560b.tar.gz building-blocks-efa0785818293be00ea4ec791bef07260c65560b.tar.bz2 building-blocks-efa0785818293be00ea4ec791bef07260c65560b.zip |
[Update] Changing model-config features of Maps, Location, Geofence.
Change-Id: I131511cc1b50f9753ed5cacb1f3b2849e5c199a1
-rw-r--r-- | packaging/domain-apis.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packaging/domain-apis.inc b/packaging/domain-apis.inc index 440ba66..4ddc0cf 100644 --- a/packaging/domain-apis.inc +++ b/packaging/domain-apis.inc @@ -481,6 +481,10 @@ Suggests: lbs-plugin-gps-rpi3 This block supports managing Location Service.<br> To use Location Service, the appropriate plugin should be selected for the device. %files sub2-domain_API-Location-Location_Manager +%posttrans sub2-domain_API-Location-Location_Manager +sed -i 's#\(\"tizen.org/feature/location\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml +sed -i 's#\(\"tizen.org/feature/location.gps\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml +sed -i 's#\(\"tizen.org/feature/location.gps.satellite\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Location-Geofence_Manager Summary: Geofence-Manager @@ -491,6 +495,8 @@ Requires: %{name}-sub2-domain_API-Location-Location_Manager %description sub2-domain_API-Location-Geofence_Manager This block supports managing Geofence Service. %files sub2-domain_API-Location-Geofence_Manager +%posttrans sub2-domain_API-Location-Geofence_Manager +sed -i 's#\(\"tizen.org/feature/location.geofence\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml ########## ## Maps ## @@ -518,6 +524,9 @@ At least one of HERE or MAPZEN plugin must be selected. %files sub2-domain_API-Maps-Maps_Service +%posttrans sub2-domain_API-Maps-Maps_Service +sed -i 's#\(\"tizen.org/feature/maps\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml + %package sub2-domain_API-Maps-Here_Plugin Summary: Here_Plugin |