<?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>5169</bug_id>
          
          <creation_ts>2013-09-12 06:40:20 +0000</creation_ts>
          <short_desc>core-image-minimal: do_rootfs failed when NO_RECOMMENDATIONS set to 1</short_desc>
          <delta_ts>2013-09-25 01:40:57 +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.5</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jackie Huang">jackie.huang</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>36583</commentid>
    <comment_count>0</comment_count>
    <who name="Jackie Huang">jackie.huang</who>
    <bug_when>2013-09-12 06:40:20 +0000</bug_when>
    <thetext>refer to:
conf/documentation.conf:NO_RECOMMENDATIONS[doc] = &quot;When set to 1, no recommended packages will be installed.  Note: some recommended packages may be required for certain system functionality, such as kernel-modules.  It is up to the user to add packages to IMAGE_INSTALL as needed.&quot;

set in local.conf:
NO_RECOMMENDATIONS = &quot;1&quot;

$ bitbake core-image-minimal

failed logs:
=============
| Installing packages (22):
|   base-files-3.0.14-r73@qemux86_64
|   base-passwd-3.5.26-r2@x86_64
|   busybox-1.21.1-r0@x86_64
|   busybox-hwclock-1.21.1-r0@x86_64
|   init-ifupdown-1.0-r3@qemux86_64
|   initscripts-1.0-r141@x86_64
|   libblkid1-2.23.2-r0@x86_64
|   libc6-2.18-r0@x86_64
|   libkmod2-14+git0+3b38c7fcb5-r0@x86_64
|   libuuid1-2.23.2-r0@x86_64
|   modutils-initscripts-1.0-r6@x86_64
|   netbase-1:5.1-r0@x86_64
|   packagegroup-core-boot-1.0-r11@qemux86_64
|   run-postinsts-1.0-r9@x86_64
|   shadow-4.1.4.3-r13@x86_64
|   shadow-securetty-4.1.4.3-r2@qemux86_64
|   sysvinit-2.88dsf-r11@x86_64
|   sysvinit-inittab-2.88dsf-r9@qemux86_64
|   sysvinit-pidof-2.88dsf-r11@x86_64
|   udev-182-r7@x86_64
|   update-alternatives-cworth-1:0.1.8+svnr653-r13.0@x86_64
|   v86d-0.1.10-r1@qemux86_64
| 3.5MB of package files are needed. 7.1MB will be used.
|
|
| Saving cache...
|
|
|
|
| Running intercept scripts:
| WARNING: The license listed MIT was not in the licenses collected for packagegroup-core-boot
| log_check: Using /buildarea/jhuang0/yp/y_x64_0829/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.6540 as logfile
| Logfile is clean
| error: package update-rc.d is not installed
| WARNING: /buildarea/jhuang0/yp/y_x64_0829/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_rootfs.6540:1 exit 1 from
|   rpm -e --nodeps --root=/buildarea/jhuang0/yp/y_x64_0829/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs --dbpath=/var/lib/rpm --define=&apos;_cross_scriptlet_wrapper /buildarea/jhuang0/yp/y_x64_0829/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/scriptlet_wrapper&apos; --define=&apos;_tmppath /install/tmp&apos; $@
| ERROR: Function failed: do_rootfs (log file is located at /buildarea/jhuang0/yp/y_x64_0829/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.6540)
NOTE: recipe core-image-minimal-1.0-r0: task do_rootfs: Failed
ERROR: Task 7 (/buildarea/jhuang0/git/yocto/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 1661 tasks of which 1648 didn&apos;t need to be rerun and 1 failed.

Summary: 1 task failed:
  /buildarea/jhuang0/git/yocto/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36594</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-09-12 09:18:23 +0000</bug_when>
    <thetext>The problem is that in update-rc.d.bbclass, the update-rc.d package is recommended. It should be rdepended instead. Because if a package needs update-rc.d to update the symlinks under /etc/rc?, it actually has a runtime dependency on update-rc.d.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37149</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-09-25 01:40:57 +0000</bug_when>
    <thetext>merged into poky/master: 80203494aa4ac9a1c6b724f8ad7f50a533895138
URL:    http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=b86dc63bc87763119fce8286f37f44361da824d0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>