<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3341</bug_id>
          
          <creation_ts>2012-10-26 20:10:30 +0000</creation_ts>
          <short_desc>hwclock.sh startup script does not work if hardware clock is kept in UTC</short_desc>
          <delta_ts>2012-11-05 03:33:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Patch sent to OE list.</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marc Ferland">marc.ferland</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26980</commentid>
    <comment_count>0</comment_count>
    <who name="Marc Ferland">marc.ferland</who>
    <bug_when>2012-10-26 20:10:30 +0000</bug_when>
    <thetext>The hwclock.sh script assumes the hardware clock is kept in localtime. A variable similar to the UTC variable found in /etc/default/rcS should be used to declare whether the HW clock is in local or UTC.

Based on the value of this variable, call hwclock with &apos;--utc&apos; or &apos;--localtime&apos;.

BTW, if the current UTC variable in /etc/default/rcS indicates the HW clock format then the comment should be changed (i.e.: it mentions the system time (linux clock) which is different from the HW clock (bios/cmos)).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27220</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2012-11-05 03:33:35 +0000</bug_when>
    <thetext>merged to poky/master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7f6edde6af6451b811c1c45139f6eede525798ae</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>