sysctl: delete unnecessary sysctl-tizen-override.conf
authorINSUN PYO <insun.pyo@samsung.com>
Mon, 7 Dec 2020 07:26:51 +0000 (16:26 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 12 Feb 2024 15:37:49 +0000 (16:37 +0100)
/proc/sys/net/core/default_qdisc has only pfifo_fast values in all targets.
(TM1, TW2, TW3, RPI3, RPI4, ARTIK, EMUL)

If this conf does not exist, there is warning journal log and this is not harmful.
"Jan 01 11:36:16 localhost systemd-sysctl[208]: Couldn't write 'pfifo_fast' to 'net/core/default_qdisc', ignoring: No such file or directory"

Change-Id: I970dc97fc0771b1ef3fce1ef05b5f6a2d6b22778

packaging/sysctl-tizen-override.conf [deleted file]
packaging/systemd.spec

diff --git a/packaging/sysctl-tizen-override.conf b/packaging/sysctl-tizen-override.conf
deleted file mode 100644 (file)
index aadbf78..0000000
+++ /dev/null
@@ -1 +0,0 @@
-net.core.default_qdisc = pfifo_fast
index 4990613..6a5ed0e 100644 (file)
@@ -61,10 +61,9 @@ Source3:        test-runner.c
 Source4:        wait-default-target.sh
 Source5:        wait-delayed-target.sh
 Source6:        org.tizen.system.conf
-Source7:        sysctl-tizen-override.conf
-Source8:        send-booting-done.c
-Source9:        wait-target-done.c
-Source10:       delayed-target-trigger.sh
+Source7:        send-booting-done.c
+Source8:        wait-target-done.c
+Source9:        delayed-target-trigger.sh
 Source1001:     systemd.manifest
 BuildRequires:  gperf
 BuildRequires:  intltool >= 0.40.0
@@ -165,8 +164,8 @@ for sd-bus component (DBUS API C library).
 %build
 cp %{SOURCE1001} .
 cp %{SOURCE3} .
+cp %{SOURCE7} .
 cp %{SOURCE8} .
-cp %{SOURCE9} .
 
 %define _vpath_srcdir .
 %define _vpath_builddir %{build_dir}
@@ -364,10 +363,7 @@ ln -sf ./libsystemd.pc %{buildroot}%{_libdir}/pkgconfig/libsystemd-login.pc
 install -m 0755 %{SOURCE4} %{buildroot}%{_bindir}/wait-default-target.sh
 install -m 0755 %{SOURCE5} %{buildroot}%{_bindir}/wait-delayed-target.sh
 install -m 0644 %{SOURCE6} %{buildroot}%{dbuspolicydir}/system.d/org.tizen.system.conf
-install -m 0755 %{SOURCE10} %{buildroot}%{_bindir}/delayed-target-trigger.sh
-
-# Tizen sysctl values overriding default systemd values
-install -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysctl.d/
+install -m 0755 %{SOURCE9} %{buildroot}%{_bindir}/delayed-target-trigger.sh
 
 # end of install
 %pre
@@ -536,7 +532,6 @@ fi
 %config(noreplace) %{_sysconfdir}/systemd/logind.conf
 %config(noreplace) %{_sysconfdir}/systemd/journald.conf
 %config(noreplace) %{_sysconfdir}/udev/udev.conf
-%config(noreplace) %{_sysconfdir}/sysctl.d/sysctl-tizen-override.conf
 %config(noreplace) %{_sysconfdir}/systemd/sleep.conf
 %{_sysconfdir}/xdg/systemd
 %ghost %config(noreplace) %{_sysconfdir}/hostname