Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 381308 Details for
Bug 496024
sys-apps/openrc clock="local" setting is ignored
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-hwclock-Always-call-hwclock-systz-when-the-clock-is-.patch (text/plain), 934 bytes, created by
Mike Gilbert
on 2014-07-22 01:22:06 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2014-07-22 01:22:06 UTC
Size:
934 bytes
patch
obsolete
>From 6cf59edf90e76f640ff77aa83c845fe3ef78ea08 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Mon, 21 Jul 2014 21:19:05 -0400 >Subject: [PATCH] hwclock: Always call hwclock --systz when the clock is in > local time > >This will trigger the kernel's "clock warp" behavior. >Resolves bug 496024. >--- > init.d/hwclock.in | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/init.d/hwclock.in b/init.d/hwclock.in >index 823a5ab..24cd55c 100644 >--- a/init.d/hwclock.in >+++ b/init.d/hwclock.in >@@ -94,12 +94,12 @@ start() > "$utc_cmd" != --utc -o \ > -n "$clock_args" ]; > then >+ _hwclock --systz $utc_cmd $clock_args >+ : $(( retval += $? )) > if yesno ${clock_hctosys:-YES}; then > _hwclock --hctosys $utc_cmd $clock_args >+ : $(( retval += $? )) > else >- _hwclock --systz $utc_cmd $clock_args >- fi >- : $(( retval += $? )) > fi > > eend $retval "Failed to set the system clock" >-- >2.0.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 496024
:
381308
|
381310
|
381458