<?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>4969</bug_id>
          
          <creation_ts>2013-07-31 15:31:23 +0000</creation_ts>
          <short_desc>packagegroup-core-boot: Cannot satisfy the following dependencies for packagegroup-core-boot: busybox-hwclock</short_desc>
          <delta_ts>2014-04-21 16:21:40 +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>unspecified</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>02 April 2014: Need some doc guidance.</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Liu">net147</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35230</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-07-31 15:31:23 +0000</bug_when>
    <thetext>After http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3b9b8d571da6bb3652427e8ccc7948cbcec0e517, busybox-hwclock is no longer created because it only contains /etc/init.d/hwclock.sh which is removed when DISTRO_FEATURES contains systemd but not sysvinit.

The busybox-hwclock RDEPEND in packagegroup-core-boot should be excluded in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35241</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-01 06:15:05 +0000</bug_when>
    <thetext>Is there an equivlant for the hwclock setting with systemd?  Can you provide the correct patch, (I will assign it to you, if you can).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35253</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-08-01 09:59:44 +0000</bug_when>
    <thetext>For systemd, you generally use timedatectl to set the date/time (http://www.freedesktop.org/software/systemd/man/timedatectl.html).

I don&apos;t think there is a service for hwclock in systemd. It is generally recommended for systemd that the RTC is kept as UTC. Setting the date/time with timedatectl will update both the local and RTC time.

&quot;timedatectl set-local-rtc 0&quot; is used to set systemd to maintain RTC in universal time.
&quot;timedatectl set-local-rtc 1&quot; is used to set systemd to maintain RTC in local time.

Note that &quot;timedatectl set-local-rtc 1&quot; gives the following warning:
Warning: The RTC is configured to maintain time in the local time zone. This
         mode is not fully supported and will create various problems with time
         zone changes and daylight saving adjustments. If at all possible use
         RTC in UTC, by calling &apos;timedatectl set-local-rtc 0&apos;.

The set-local-rtc option is persisted across reboots. I think busybox-hwclock is just not necessary for systemd.

I am wondering what the most concise way would be to test that DISTRO_FEATURES contains systemd but not sysvinit when setting RDEPENDS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35313</commentid>
    <comment_count>3</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-08-02 02:44:32 +0000</bug_when>
    <thetext>What about modutils-initscripts? I think the same logic applies there.

P.S.

I just noticed there&apos;s a new field &apos;Document Change&apos; here.
I set it as &apos;Yes (doc changes required)&apos; because I think we may need some documents on systemd and sysv issues.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35314</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-02 04:42:04 +0000</bug_when>
    <thetext>Possibly also init-ifupdown needs to be added to that list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35442</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-07 03:37:06 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=be13994d00ebb9973306fd2045dd142a859a2a62</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42186</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-04-02 19:42:13 +0000</bug_when>
    <thetext>Hi, 

What are the impacts to the user for this fix?  Is there something specific the user needs to do under certain conditions?  Is it simply to be sure that busybox-hwclock is not an IMAGE_FEATURE for a Systemd-based image?

I need someone to clearly note the impact(s) to the user here to help me figure out where to update the docs for this fix.

Thanks,
Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>