Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382525 - localization documentation refers to /etc/conf.d/clock
Summary: localization documentation refers to /etc/conf.d/clock
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 213988
  Show dependency tree
 
Reported: 2011-09-10 15:09 UTC by anthony.brandon
Modified: 2011-09-12 19:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
PAtch for the localization guide (guide-localization.patch,4.78 KB, patch)
2011-09-11 23:28 UTC, Francisco Blas Izquierdo Riera (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description anthony.brandon 2011-09-10 15:09:51 UTC
The Gentoo Linux Localization Guide refers to the file /etc/conf.d/clock.
This should probably be changed to hwclock due to the baselayout update.
Comment 1 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2011-09-10 16:49:37 UTC
Freebsd uses /etc/conf.d/adjkerntz instead and I need a copy of that file to end updating the doc, so unless somebody shares a copy of that file I won't be able to fix that doc.

*** This bug has been marked as a duplicate of bug 213988 ***
Comment 2 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2011-09-10 16:53:30 UTC
(In reply to comment #1)
> Freebsd uses /etc/conf.d/adjkerntz instead and I need a copy of that file to
> end updating the doc, so unless somebody shares a copy of that file I won't be
> able to fix that doc.
> 
> *** This bug has been marked as a duplicate of bug 213988 ***

S/freebsd/gentoo bsd/g :/
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2011-09-11 08:07:15 UTC
Not a dupe of tracker, but a blocking bug.
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2011-09-11 09:09:50 UTC
The adjkerntz file in Gentoo/BSD looks very similar:

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time).  If your clock is set to the local time, then 
# set CLOCK to "local".  Note that if you dual boot with Windows, then 
# you should set it to "local".
clock="UTC"

# If you want to set the Hardware Clock to the current System Time 
# during shutdown, then say "YES" here.
# You normally don't need to do this if you run a ntp daemon.
clock_systohc="NO"

I'm not sure though where you want to fix this. You want to update all references in all our documents where we refer to "hwclock" to say "hwclock for all architectures, or adjkerntz for Gentoo/BSD" ?

Other patches applied and in CVS.
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2011-09-11 09:16:06 UTC
Marking as fixed as the bug itself is resolved. Anthony, thanks for reporting.

Francisco, we might need to open a new bug (but perhaps first discussion on gentoo-doc?) on the multi-OS/arch topic?
Comment 6 anthony.brandon 2011-09-11 11:50:14 UTC
(In reply to comment #5)
> Marking as fixed as the bug itself is resolved. Anthony, thanks for reporting.
You're welcome.
Comment 7 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2011-09-11 23:28:26 UTC
Created attachment 286189 [details, diff]
PAtch for the localization guide

This patch updates the localization guide by:
* Referring properly to /etc/timezone and /etc/conf.d/{hwclock,adjkerntz}
* Changing the variables by their proper lowercase counterparts used by Open RC
* Updating the X.org configuration so it now uses the proper udev based configuration.

@Swift, mind reviewing and commiting it if nobody complains for the spelling propossed for the hwclock/adjkerntz in this document?
Comment 8 Sven Vermeulen (RETIRED) gentoo-dev 2011-09-12 19:43:12 UTC
Thanks, i've applied it.