Remove vip configuration file from resourced directory 59/308859/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 2 Apr 2024 03:54:17 +0000 (12:54 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 2 Apr 2024 03:54:17 +0000 (12:54 +0900)
To prevent rebooting the device, amd.vip.conf file is removed.
When amd is restarted, amd loads running context informations from
the db(tmpfs). Rebooting the device is not needed.

Change-Id: I8365b7a68c46df30a260cc4dc74671eba9e1a6f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
packaging/amd.spec
packaging/amd.vip.conf [deleted file]

index 495765c..e6088ca 100644 (file)
@@ -9,7 +9,6 @@ Source100:  ac.conf
 Source101:  ac.service
 Source102:  ac.socket
 Source103:  amd.conf
-Source104:  amd.vip.conf
 Source1001: %{name}.manifest
 
 Requires(post):   /sbin/ldconfig
@@ -329,9 +328,6 @@ ln -sf ../ac.socket %{buildroot}%{_unitdir}/sockets.target.wants/ac.socket
 mkdir -p %{buildroot}%{_datadir}/amd/conf
 install -m 0644 %SOURCE103 %{buildroot}%{_datadir}/amd/conf/amd.conf
 
-mkdir -p %{buildroot}/%{_sysconfdir}/resourced/vip-process.d
-cp %{SOURCE104} %{buildroot}/%{_sysconfdir}/resourced/vip-process.d/amd.conf
-
 %preun
 if [ $1 == 0 ]; then
     systemctl stop ac.service
@@ -361,7 +357,6 @@ systemctl daemon-reload
 %{_bindir}/amd
 %{_libdir}/libamd.so.*
 %{_moddir}/conf/amd.conf
-%{_sysconfdir}/resourced/vip-process.d/amd.conf
 
 %files devel
 %{_includedir}/amd/*.h*
diff --git a/packaging/amd.vip.conf b/packaging/amd.vip.conf
deleted file mode 100644 (file)
index deec60f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-[VIP_GROUP]
-SERVICE=ac.service
-ACTION_ON_FAILURE=reboot