From: lokilee73 Date: Mon, 21 Aug 2017 01:57:03 +0000 (+0900) Subject: add model config for device feature X-Git-Tag: submit/tizen/20170821.083453~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00c5dab0b2b6f72b2922379e0941bca533b15211;p=tools%2Fbuilding-blocks.git add model config for device feature Change-Id: I76750de87b678c0127b40b19d27714ec47d317b7 Signed-off-by: lokilee73 --- diff --git a/packaging/domain-apis.inc b/packaging/domain-apis.inc index 55cff79..e35c817 100755 --- a/packaging/domain-apis.inc +++ b/packaging/domain-apis.inc @@ -1682,6 +1682,8 @@ Then choose proper combination. For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile deviced-profile_common and device-manager-plugin-rpi3 for rpi3 %files sub2-domain_API-System-Device_Battery +%posttrans sub2-domain_API-System-Device_Battery +sed -i 's#\(\"tizen.org/feature/battery\".\+>\).\+\(\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-System-Device_Callback Summary: Device_Callback @@ -1782,6 +1784,8 @@ Then choose proper combination. For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile deviced-profile_common and device-manager-plugin-rpi3 for rpi3 %files sub2-domain_API-System-Device_IR +%posttrans sub2-domain_API-System-Device_IR +sed -i 's#\(\"tizen.org/feature/consumer_ir\".\+>\).\+\(\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-System-Device_Led Summary: Device_Led @@ -1810,6 +1814,8 @@ Then choose proper combination. For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile deviced-profile_common and device-manager-plugin-rpi3 for rpi3 %files sub2-domain_API-System-Device_Led +%posttrans sub2-domain_API-System-Device_Led +sed -i 's#\(\"tizen.org/feature/led\".\+>\).\+\(\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-System-Device_Power Summary: Device_Power @@ -1964,6 +1970,8 @@ Requires: libusb %description sub2-domain_API-System-USB_Host Tizen block (set of packages) for Group of sub domain USB_Host %files sub2-domain_API-System-USB_Host +%posttrans sub2-domain_API-System-USB_Host +sed -i 's#\(\"tizen.org/feature/usb.host\".\+>\).\+\(\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-System-dlog Summary: dlog