packagaing: Reset the result of hal-compatibility-checker 62/313162/1 accepted/tizen/unified/20240621.010409 accepted/tizen/unified/dev/20240701.073012 accepted/tizen/unified/toolchain/20240624.121749 accepted/tizen/unified/x/20240624.032120 accepted/tizen/unified/x/asan/20240625.093049
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 19 Jun 2024 12:27:08 +0000 (21:27 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 19 Jun 2024 12:27:08 +0000 (21:27 +0900)
HALCC (HAL Compatibility Checker) checks and stores the compatibility
result of hal-backend package under /opt/etc/hal/ directory.

When installing/un-installing hal-api packages,
compatibility result between HAL manifest and hal-backend package should
be reset. So that reset the result of hal-compatibility-checker by
'usr/bin/hal-compatibility-checker --reset' command.

Change-Id: I84720ce11a95677a2ddff66ab19ba8f60eb63a70
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
packaging/hal-api-power.spec

index bd9534e214e4da747a14466d0ce69f86829bafd8..ec274fd66c8d56dc92d592224e999a7c5081bfc2 100644 (file)
@@ -56,9 +56,11 @@ rm -rf %{buildroot}
 
 %post
 /sbin/ldconfig
+/usr/bin/hal-compatibility-checker --reset
 
 %postun
 /sbin/ldconfig
+/usr/bin/hal-compatibility-checker --reset
 
 ### contain files to package #########
 %files -n %{name}