From d52b576776357406afad95225157eda4d4af87e3 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Mon, 19 Jul 2010 17:17:28 -0400 Subject: [PATCH] generic: add openntpd to generic, configure it properly All images should have proper time set.. Also configure openntpd properly, as it should've been running w/ -s. Signed-off-by: Andres Salomon --- configs/debxo-awesome/packages | 1 - configs/debxo-gnome/packages | 1 - configs/debxo-kde/packages | 1 - configs/debxo-lxde/packages | 1 - configs/debxo-sugar/packages | 1 - configs/debxo-xfce/packages | 1 - configs/generic/hooks | 7 +++++++ configs/generic/packages | 1 + 8 files changed, 8 insertions(+), 6 deletions(-) diff --git a/configs/debxo-awesome/packages b/configs/debxo-awesome/packages index 8ffa2c7..205cc7d 100644 --- a/configs/debxo-awesome/packages +++ b/configs/debxo-awesome/packages @@ -11,7 +11,6 @@ initramfs-tools/lenny-backports wireless-tools alsa-utils console-tools -openntpd # the silly i-always-use-this-shit stuff less diff --git a/configs/debxo-gnome/packages b/configs/debxo-gnome/packages index a1845df..d079eb5 100644 --- a/configs/debxo-gnome/packages +++ b/configs/debxo-gnome/packages @@ -11,7 +11,6 @@ initramfs-tools/lenny-backports wireless-tools alsa-utils console-tools -openntpd # the silly i-always-use-this-shit stuff less diff --git a/configs/debxo-kde/packages b/configs/debxo-kde/packages index ef30785..c17b96a 100644 --- a/configs/debxo-kde/packages +++ b/configs/debxo-kde/packages @@ -11,7 +11,6 @@ initramfs-tools/lenny-backports wireless-tools alsa-utils console-tools -openntpd # the silly i-always-use-this-shit stuff less diff --git a/configs/debxo-lxde/packages b/configs/debxo-lxde/packages index c907d7b..3b9b5df 100644 --- a/configs/debxo-lxde/packages +++ b/configs/debxo-lxde/packages @@ -11,7 +11,6 @@ initramfs-tools/lenny-backports wireless-tools alsa-utils console-tools -openntpd # the silly i-always-use-this-shit stuff less diff --git a/configs/debxo-sugar/packages b/configs/debxo-sugar/packages index 210ee72..855990c 100644 --- a/configs/debxo-sugar/packages +++ b/configs/debxo-sugar/packages @@ -11,7 +11,6 @@ initramfs-tools/lenny-backports wireless-tools alsa-utils console-tools -openntpd # the silly i-always-use-this-shit stuff less diff --git a/configs/debxo-xfce/packages b/configs/debxo-xfce/packages index cad3234..cd2c94a 100644 --- a/configs/debxo-xfce/packages +++ b/configs/debxo-xfce/packages @@ -11,7 +11,6 @@ initramfs-tools/lenny-backports wireless-tools alsa-utils console-tools -openntpd # the silly i-always-use-this-shit stuff less diff --git a/configs/generic/hooks b/configs/generic/hooks index 2f9a3f4..ed7aec1 100644 --- a/configs/generic/hooks +++ b/configs/generic/hooks @@ -17,6 +17,13 @@ package_configure_hook() # Any customizations that need to be made after all packages have been # installed should be put here. $ROOT_DIR should be prefixed to any # paths. + + # configure openntpd (to run w/ -s by default) + F=${ROOT_DIR}/etc/default/openntpd + if [ -f ${F} ]; then + sed --in-place "s/^.*DAEMON_OPTS=/DAEMON_OPTS=/" ${F} + fi + } cleanup_chroot_hook() diff --git a/configs/generic/packages b/configs/generic/packages index 77fde09..d6ee392 100644 --- a/configs/generic/packages +++ b/configs/generic/packages @@ -9,3 +9,4 @@ locales busybox sudo +openntpd -- 2.39.5