Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 381458 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]
0001-hwclock-always-set-timezone.patch
0001-hwclock-always-set-timezone.patch (text/plain), 1.11 KB, created by
William Hubbs
on 2014-07-23 21:21:20 UTC
(
hide
)
Description:
0001-hwclock-always-set-timezone.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2014-07-23 21:21:20 UTC
Size:
1.11 KB
patch
obsolete
>From 29ad07265e9c35d5501d554bed7b6457cb2cb33b Mon Sep 17 00:00:00 2001 >From: William Hubbs <w.d.hubbs@gmail.com> >Date: Wed, 23 Jul 2014 16:19:25 -0500 >Subject: [PATCH] hwclock: always set timezone > >--- > init.d/hwclock.in | 17 ++++++----------- > 1 file changed, 6 insertions(+), 11 deletions(-) > >diff --git a/init.d/hwclock.in b/init.d/hwclock.in >index 823a5ab..4b0da02 100644 >--- a/init.d/hwclock.in >+++ b/init.d/hwclock.in >@@ -83,22 +83,17 @@ start() > fi > fi > >+ # Always set the kernel's time zone. >+ _hwclock --systz $utc_cmd $clock_args >+ : $(( retval += $? )) >+ > if [ -e /etc/adjtime ] && yesno $clock_adjfile; then > _hwclock --adjust $utc_cmd > : $(( retval += $? )) > fi > >- # If setting UTC, don't bother to run hwclock when first booting >- # as that's the default >- if [ "$PREVLEVEL" != N -o \ >- "$utc_cmd" != --utc -o \ >- -n "$clock_args" ]; >- then >- if yesno ${clock_hctosys:-YES}; then >- _hwclock --hctosys $utc_cmd $clock_args >- else >- _hwclock --systz $utc_cmd $clock_args >- fi >+ if yesno ${clock_hctosys:-YES}; then >+ _hwclock --hctosys $utc_cmd $clock_args > : $(( retval += $? )) > fi > >-- >1.8.5.5 >
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