dbus policy checking test environment sandbox/yunhee/dbus-policy-checking
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 30 May 2025 06:56:19 +0000 (15:56 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 30 May 2025 07:01:38 +0000 (16:01 +0900)
Change-Id: If6ac41d5c20fad870da49f42f61d29c6b649f97f
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
dbus_policy_test_setup.sh [new file with mode: 0755]
packaging/hal-api-common.spec

diff --git a/dbus_policy_test_setup.sh b/dbus_policy_test_setup.sh
new file mode 100755 (executable)
index 0000000..714f8f9
--- /dev/null
@@ -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
+
index 478fd755d430d7991f73c6db11319fe0d14976b3..ab9df3b0d42c0f4e8516eadd38d7ddba663dca89 100644 (file)
@@ -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}