From fe49c7a590daa6d8fcbe49c19e4994084dc1f4db Mon Sep 17 00:00:00 2001 From: David Mondou <David.Mondou@rigado.com> Date: Mon, 8 May 2017 11:52:18 -0700 Subject: [PATCH] Added ntpd to build --- recipes-support/ntp/files/ntp.conf | 16 ++++++++++++++++ recipes-support/ntp/ntp_4.2.8p9.bbappend | 4 ++++ recipes-vesta/images/vesta-image-minimal.bb | 1 + 3 files changed, 21 insertions(+) create mode 100644 recipes-support/ntp/files/ntp.conf create mode 100644 recipes-support/ntp/ntp_4.2.8p9.bbappend diff --git a/recipes-support/ntp/files/ntp.conf b/recipes-support/ntp/files/ntp.conf new file mode 100644 index 0000000..d6262a0 --- /dev/null +++ b/recipes-support/ntp/files/ntp.conf @@ -0,0 +1,16 @@ +# This is the most basic ntp configuration file +# The driftfile must remain in a place specific to this +# machine - it records the machine specific clock error +# driftfile /var/lib/ntp/drift + +# This should be a server that is close (in IP terms) +# to the machine. Add other servers as required. +# Unless you un-comment the line below ntpd will sync +# only against the local system clock. +server 0.us.pool.ntp.org iburst +server 1.us.pool.ntp.org iburst +server 2.us.pool.ntp.org iburst +server 3.us.pool.ntp.org iburst + +# Defining a default security setting +restrict default diff --git a/recipes-support/ntp/ntp_4.2.8p9.bbappend b/recipes-support/ntp/ntp_4.2.8p9.bbappend new file mode 100644 index 0000000..3a94cd4 --- /dev/null +++ b/recipes-support/ntp/ntp_4.2.8p9.bbappend @@ -0,0 +1,4 @@ +SUMMARY = "Network Time Protocol daemon and utilities" +DESCRIPTION = "Replacing ntp.conf with our own" + +FILESEXTRAPATHS_append := "${THISDIR}/files:" \ No newline at end of file diff --git a/recipes-vesta/images/vesta-image-minimal.bb b/recipes-vesta/images/vesta-image-minimal.bb index ea7d553..0a773fc 100644 --- a/recipes-vesta/images/vesta-image-minimal.bb +++ b/recipes-vesta/images/vesta-image-minimal.bb @@ -10,6 +10,7 @@ IMAGE_INSTALL_append += " \ linux-firmware-ar3k \ kernel-modules \ mtd-utils \ + ntp \ openssh \ packagegroup-base-wifi \ rigtools \ -- GitLab