From 08728b8cb57bee016073b9b51ccd999aa3682a09 Mon Sep 17 00:00:00 2001 From: Matthias Blankertz Date: Wed, 9 Apr 2014 20:24:50 +0200 Subject: [PATCH] Update kernel to 3.12.17; add ntpd --- buildroot.config | 7 +++--- linux-3.12.16.config => linux-3.12.x.config | 0 overlay/etc/ntp.conf | 24 +++++++++++++++++++++ 3 files changed, 28 insertions(+), 3 deletions(-) rename linux-3.12.16.config => linux-3.12.x.config (100%) create mode 100644 overlay/etc/ntp.conf diff --git a/buildroot.config b/buildroot.config index 1c54e1f..3e5151a 100644 --- a/buildroot.config +++ b/buildroot.config @@ -1,6 +1,6 @@ BR2_x86_athlon_4=y BR2_KERNEL_HEADERS_VERSION=y -BR2_DEFAULT_KERNEL_VERSION="3.12.16" +BR2_DEFAULT_KERNEL_VERSION="3.12.17" BR2_UCLIBC_CONFIG="$(TOPDIR)/../uClibc-0.9.33.panda.config" BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y @@ -17,9 +17,9 @@ BR2_ROOTFS_OVERLAY="$(TOPDIR)/../overlay" BR2_ROOTFS_CUSTOM_FAKEROOT="$(TOPDIR)/../fakeroot.fs" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.12.16" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.12.17" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(TOPDIR)/../linux-3.12.16.config" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(TOPDIR)/../linux-3.12.x.config" BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_XZ=y @@ -30,6 +30,7 @@ BR2_PACKAGE_DHCPCD=y BR2_PACKAGE_IPROUTE2=y BR2_PACKAGE_IPTABLES=y BR2_PACKAGE_IPUTILS=y +BR2_PACKAGE_NTP=y BR2_PACKAGE_OPENSSH=y BR2_PACKAGE_OPENVPN=y BR2_PACKAGE_BASH=y diff --git a/linux-3.12.16.config b/linux-3.12.x.config similarity index 100% rename from linux-3.12.16.config rename to linux-3.12.x.config diff --git a/overlay/etc/ntp.conf b/overlay/etc/ntp.conf new file mode 100644 index 0000000..a86af8b --- /dev/null +++ b/overlay/etc/ntp.conf @@ -0,0 +1,24 @@ +# With the default settings below, ntpd will only synchronize your clock. +# +# For details, see: +# - the ntp.conf man page +# - http://support.ntp.org/bin/view/Support/GettingStarted +# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon + +# Associate to public NTP pool servers; see http://www.pool.ntp.org/ +server 0.de.pool.ntp.org iburst +server 1.de.pool.ntp.org iburst +server 2.de.pool.ntp.org iburst + +# Only allow read-only access from localhost +restrict default noquery nopeer +restrict 127.0.0.1 +restrict ::1 + +# Location of drift file +driftfile /var/lib/ntp/ntp.drift + +# NOTE: If you run dhcpcd and have lines like 'restrict' and 'fudge' appearing +# here, be sure to add '-Y -N' to the dhcpcd_ethX variables in /etc/conf.d/net + +tos orphan 8