Modify to exclude packages if profile is "tv" 03/315603/1 accepted/tizen/unified/20240807.010743 accepted/tizen/unified/dev/20240807.093108 accepted/tizen/unified/x/20240807.014316
authorSangYoun Kwak <sy.kwak@samsung.com>
Mon, 5 Aug 2024 06:28:42 +0000 (15:28 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Mon, 5 Aug 2024 06:30:20 +0000 (15:30 +0900)
Packages below are excluded if the profile is "tv" since the VD
environment does not have these packages:
 * capi-system-peripheral-io
 * hal-api-bluetooth
 * hal-api-location
 * hal-api-power
 * hal-api-radio
 * hal-api-uwb
 * hal-api-wifi
 * hal-api-zigbee

Change-Id: I11c34492bc8913e1c918a0aef14b29cb2a2bdf8b
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
packaging/hal-rootstrap-common.spec

index 47b5e9d..9d6ce17 100644 (file)
@@ -74,26 +74,29 @@ Requires:   pkgconfig(libusb-1.0)
 Requires:      pkgconfig(json-glib-1.0)
 Requires:      pkgconfig(libudev)
 Requires:      pkgconfig(ttrace)
-Requires:      pkgconfig(capi-system-peripheral-io)
 Requires:      pkgconfig(libdrm)
 Requires:      pkgconfig(libtzplatform-config)
 Requires:      pkgconfig(tpl-egl)
 
 Requires:      pkgconfig(hal-api-audio)
-Requires:      pkgconfig(hal-api-bluetooth)
 Requires:      pkgconfig(hal-api-camera)
 Requires:      pkgconfig(hal-api-common)
 Requires:      pkgconfig(hal-api-device)
-Requires:      pkgconfig(hal-api-location)
 Requires:      pkgconfig(hal-api-nfc)
-Requires:      pkgconfig(hal-api-power)
-Requires:      pkgconfig(hal-api-radio)
 Requires:      pkgconfig(hal-api-sensor)
 Requires:      pkgconfig(hal-api-tbm)
 Requires:      pkgconfig(hal-api-tdm)
+
+%if "%{tizen_profile_name}" != "tv"
+Requires:      pkgconfig(capi-system-peripheral-io)
+Requires:      pkgconfig(hal-api-bluetooth)
+Requires:      pkgconfig(hal-api-location)
+Requires:      pkgconfig(hal-api-power)
+Requires:      pkgconfig(hal-api-radio)
 Requires:      pkgconfig(hal-api-uwb)
 Requires:      pkgconfig(hal-api-wifi)
 Requires:      pkgconfig(hal-api-zigbee)
+%endif
 
 %description
 %{desc}