console-image: Add ntp
Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
parent
7a88af7d0c
commit
657e18387f
@ -10,6 +10,7 @@ BBLAYERS ?= " \
|
||||
${TOPDIR}/../layers/poky/meta-poky \
|
||||
${TOPDIR}/../layers/poky/meta-yocto-bsp \
|
||||
${TOPDIR}/../layers/meta-openembedded/meta-oe \
|
||||
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
||||
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
||||
${TOPDIR}/../layers/meta-bbb \
|
||||
"
|
||||
|
@ -26,7 +26,6 @@ KERNEL_EXTRA_INSTALL = " \
|
||||
|
||||
WIFI_SUPPORT = " \
|
||||
iw \
|
||||
linux-firmware-rtl8188 \
|
||||
linux-firmware-rtl8192cu \
|
||||
wireless-tools \
|
||||
wpa-supplicant \
|
||||
@ -63,6 +62,7 @@ EXTRA_TOOLS_INSTALL = " \
|
||||
wget \
|
||||
curl \
|
||||
zip \
|
||||
ntp \
|
||||
"
|
||||
|
||||
MQTT = " \
|
||||
|
19
recipes-support/ntp/files/ntp.conf
Normal file
19
recipes-support/ntp/files/ntp.conf
Normal file
@ -0,0 +1,19 @@
|
||||
# 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 time.server.example.com
|
||||
server 192.168.178.1
|
||||
#
|
||||
# Using local hardware clock as fallback
|
||||
# Disable this when using ntpd -q -g -x as ntpdate or it will sync to itself
|
||||
server 127.127.1.0
|
||||
fudge 127.127.1.0 stratum 14
|
||||
# Defining a default security setting
|
||||
restrict default
|
||||
|
2
recipes-support/ntp/ntp_%.bbappend
Normal file
2
recipes-support/ntp/ntp_%.bbappend
Normal file
@ -0,0 +1,2 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
Loading…
Reference in New Issue
Block a user