From 44a1e122c08231896376fe2acf25801f6f6628b3 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 9 Mar 2021 20:54:23 +0100 Subject: [PATCH] - procps-ng: add sysctl patch --- ...no-tests-docs.patch => 0001-no-tests-docs.patch} | 0 .../patches/0002-change-sysctl-d-locations.patch | 13 +++++++++++++ 2 files changed, 13 insertions(+) rename package/procps-ng/patches/{procps-ng-no-tests-docs.patch => 0001-no-tests-docs.patch} (100%) create mode 100644 package/procps-ng/patches/0002-change-sysctl-d-locations.patch diff --git a/package/procps-ng/patches/procps-ng-no-tests-docs.patch b/package/procps-ng/patches/0001-no-tests-docs.patch similarity index 100% rename from package/procps-ng/patches/procps-ng-no-tests-docs.patch rename to package/procps-ng/patches/0001-no-tests-docs.patch diff --git a/package/procps-ng/patches/0002-change-sysctl-d-locations.patch b/package/procps-ng/patches/0002-change-sysctl-d-locations.patch new file mode 100644 index 00000000..c97e999b --- /dev/null +++ b/package/procps-ng/patches/0002-change-sysctl-d-locations.patch @@ -0,0 +1,13 @@ +diff --git a/sysctl.c b/sysctl.c +index 5036a0b..86e6ffe 100644 +--- a/sysctl.c ++++ b/sysctl.c +@@ -624,7 +624,7 @@ static int PreloadSystem(void) + const char *dirs[] = { + "/run/sysctl.d", + "/etc/sysctl.d", +- "/usr/local/lib/sysctl.d", ++ "/var/etc/sysctl.d", + "/usr/lib/sysctl.d", + "/lib/sysctl.d", + };