Add fido.uaf and oauth2 for model config 58/145058/2
authorjkjo92 <jkjo92@samsung.com>
Mon, 21 Aug 2017 05:47:29 +0000 (14:47 +0900)
committerWoo Chang Kim <wchang.kim@samsung.com>
Mon, 21 Aug 2017 06:08:36 +0000 (06:08 +0000)
Change-Id: I12c93166736cebc96579fe012d3b980417813b5d
Signed-off-by: jkjo92 <jkjo92@samsung.com>
packaging/domain-apis.inc

index 52aaeddc6de0e404e1b67efde700a67656e259e0..9f1308e7c97869dc6afb12fbc108c71a4722b045 100644 (file)
@@ -66,6 +66,8 @@ But fido-asm and fido-authenticator are vendor specific modules and to be develo
 So we use dummyasm for verification of fido-client APIs instead of fido-asm and fido-authenticator.
 
 %files sub2-domain_API-Account-FIDO_Client
+%posttrans sub2-domain_API-Account-FIDO_Client
+sed -i 's#\(\"tizen.org/feature/fido.uaf\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
 
 %package sub2-domain_API-Account-OAuth2
 Summary:       OAuth2
@@ -79,6 +81,8 @@ webView is mandatory becasue oauth2 manager api triggers to show web page for us
 which is following oauth 2.0 specification.
 
 %files sub2-domain_API-Account-OAuth2
+%posttrans sub2-domain_API-Account-OAuth2
+sed -i 's#\(\"tizen.org/feature/oauth2\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
 
 %package sub2-domain_API-Account-Sync_Manager
 Summary:       Sync Manager