From 7b2474b78070253718ac86828d5ee8688afe93ea Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Wed, 11 Dec 2013 01:45:35 +0100 Subject: [PATCH] ntpdate.sh: Added hwclock -u -w to properly save hardware clock after syncing --- recipes/pandora-system/pandora-skel.bb | 2 +- recipes/pandora-system/pandora-skel/ntpdate.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/pandora-system/pandora-skel.bb b/recipes/pandora-system/pandora-skel.bb index 9a13e37..c28388d 100644 --- a/recipes/pandora-system/pandora-skel.bb +++ b/recipes/pandora-system/pandora-skel.bb @@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" # /etc/skel is used by Shadow's useradd so you really have that installed for this to make sense ;) RDEPENDS = "shadow" -PR = "r24" +PR = "r25" SRC_URI = " \ file://.xinitrc \ diff --git a/recipes/pandora-system/pandora-skel/ntpdate.sh b/recipes/pandora-system/pandora-skel/ntpdate.sh index 2d5015d..3924d29 100644 --- a/recipes/pandora-system/pandora-skel/ntpdate.sh +++ b/recipes/pandora-system/pandora-skel/ntpdate.sh @@ -12,6 +12,7 @@ case "$2" in if $screensaver_enabled; then xset s on fi + hwclock -u -w ;; *) ;; -- 2.39.5