Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 381310 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]
Revised 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:25:58 UTC
(
hide
)
Description:
Revised patch
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2014-07-22 01:25:58 UTC
Size:
934 bytes
patch
obsolete
>From f6e68f715e9cb69250d1024d8f301804fcaeeceb 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..97db3c3 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 >- else >- _hwclock --systz $utc_cmd $clock_args >+ : $(( retval += $? )) > 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