From: Yunhee Seo Date: Fri, 30 May 2025 06:56:19 +0000 (+0900) Subject: dbus policy checking test environment X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Fyunhee%2Fdbus-policy-checking;p=platform%2Fhal%2Fapi%2Fcommon.git dbus policy checking test environment Change-Id: If6ac41d5c20fad870da49f42f61d29c6b649f97f Signed-off-by: Yunhee Seo --- diff --git a/dbus_policy_test_setup.sh b/dbus_policy_test_setup.sh new file mode 100755 index 0000000..714f8f9 --- /dev/null +++ b/dbus_policy_test_setup.sh @@ -0,0 +1,10 @@ +sdb root on +sdb push {local_path}/storaged/conf/org.tizen.system.storage.conf /tmp +sdb push {local_path}/deviced/conf/org.tizen.system.deviced.conf /tmp +sdb shell mv /tmp/org.tizen.system.*.conf /etc/dbus-1/system.d/ +sdb shell chmod 644 /etc/dbus-1/system.d/org.tizen.system.*.conf +sdb shell chsmack -a "_" /etc/dbus-1/system.d/org.tizen.system.*.conf +sdb shell rm /usr/lib/systemd/system/deviced.service +sdb shell rm /usr/lib/systemd/system/storaged.service +sdb shell rm /usr/lib/systemd/system/delayed.target.wants/storaged.service + diff --git a/packaging/hal-api-common.spec b/packaging/hal-api-common.spec index 478fd75..ab9df3b 100644 --- a/packaging/hal-api-common.spec +++ b/packaging/hal-api-common.spec @@ -28,7 +28,7 @@ %define enable_hal_backend_service 0 %endif -%define enable_unified_system_service 0 +%define enable_unified_system_service 1 ### main package ######### Name: %{name}