From 42ce4c138355a5744c1d4a967753a0a49a63a415 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 22 Aug 2022 22:10:32 -0500 Subject: [PATCH] dhcpcd: Include ntp.conf hook Although `dhcpcd` includes a hook for configuring the NTP daemon from DHCP options, it is not installed by default. To enable it, one must pass `-with-hook=ntp.conf` to the `configure` script before compiling and installing the package. Buildroot does not pass this flag by default, but it does allow us to add it to the list of flags to pass in our external configuration. --- external.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external.mk b/external.mk index f489c0b..3c4ed94 100644 --- a/external.mk +++ b/external.mk @@ -1 +1,3 @@ include $(sort $(wildcard $(BR2_EXTERNAL_metricspi_PATH)/package/*/*.mk)) + +DHCPCD_CONFIG_OPTS += --with-hook=ntp.conf