summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/nm-dispatcher-dhcp_Move-server_dir-to-run.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/nm-dispatcher-dhcp_Move-server_dir-to-run.patch b/debian/patches/nm-dispatcher-dhcp_Move-server_dir-to-run.patch
new file mode 100644
index 0000000..2df6629
--- /dev/null
+++ b/debian/patches/nm-dispatcher-dhcp_Move-server_dir-to-run.patch
@@ -0,0 +1,19 @@
+Description: Move server_dir path to /run
+Author: Vincent Blut <vincent.debian@free.fr>
+Forwarded: no
+Last-Update: 2020-09-16
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: chrony/examples/chrony.nm-dispatcher.dhcp
+===================================================================
+--- chrony.orig/examples/chrony.nm-dispatcher.dhcp
++++ chrony/examples/chrony.nm-dispatcher.dhcp
+@@ -10,7 +10,7 @@ action=$2
+
+ chronyc=/usr/bin/chronyc
+ server_options=iburst
+-server_dir=/var/run/chrony-dhcp
++server_dir=/run/chrony-dhcp
+
+ dhcp_server_file=$server_dir/$interface.sources
+ dhcp_ntp_servers="$DHCP4_NTP_SERVERS $DHCP6_DHCP6_NTP_SERVERS"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f5b7c27
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+nm-dispatcher-dhcp_Move-server_dir-to-run.patch