<?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>4504</bug_id>
          
          <creation_ts>2013-05-16 13:53:03 +0000</creation_ts>
          <short_desc>base-files shouldn&apos;t be installed in core-image-minimal-initramfs</short_desc>
          <delta_ts>2013-05-21 10:40:56 +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>VERIFIED</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</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan Stanacar">sstncr</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <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>33117</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-05-16 13:53:03 +0000</bug_when>
    <thetext>master:a5f4e5fd991a15d2d9bf48768d214bdc5a68e33c 

base-files is brought in by rpm-postinsts and it shouldn&apos;t be in initramfs images

$ bitbake -g core-image-minimal-initramfs
$ grep postinsts package-depends.dot
&quot;core-image-minimal-initramfs&quot; -&gt; &quot;rpm-postinsts&quot; [style=dashed]
$ grep base-files pn-depends
&quot;base-files&quot; [label=&quot;base-files :3.0.14-r73\n/home/stefans/yocto/poky/meta/recipes-core/base-files/base-files_3.0.14.bb&quot;]
&quot;rpm-postinsts&quot; -&gt; &quot;base-files&quot; [style=dashed]
&quot;base-files&quot; -&gt; &quot;base-files&quot; [style=dashed]
$ grep base-files package-depends.dot 
&quot;base-files-doc&quot; [label=&quot;base-files-doc(base-files) :3.0.14-r73\n/home/stefans/yocto/poky/meta/recipes-core/base-files/base-files_3.0.14.bb&quot;]
&quot;base-files&quot; [label=&quot;base-files :3.0.14-r73\n/home/stefans/yocto/poky/meta/recipes-core/base-files/base-files_3.0.14.bb&quot;]
&quot;base-files-dbg&quot; [label=&quot;base-files-dbg(base-files) :3.0.14-r73\n/home/stefans/yocto/poky/meta/recipes-core/base-files/base-files_3.0.14.bb&quot;]
&quot;base-files-dev&quot; [label=&quot;base-files-dev(base-files) :3.0.14-r73\n/home/stefans/yocto/poky/meta/recipes-core/base-files/base-files_3.0.14.bb&quot;]
&quot;rpm-postinsts&quot; -&gt; &quot;base-files&quot; [style=dashed]
&quot;base-files-dev&quot; -&gt; &quot;base-files&quot; [style=dashed]

This isn&apos;t the case in danny.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33122</commentid>
    <comment_count>1</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-05-16 15:41:20 +0000</bug_when>
    <thetext>But why core-image-minimal-initramfs depends on rpm-postinsts?

I _assume_ that it&apos;s something like this:

In image.bbclass we have:

RDEPENDS += &quot;${IMAGE_INSTALL} ${LINGUAS_INSTALL} ${NORMAL_FEATURE_INSTALL} ${ROOTFS_BOOTSTRAP_INSTALL}&quot;

...


ROOTFS_BOOTSTRAP_INSTALL = &quot;${@base_contains(&quot;IMAGE_FEATURES&quot;, &quot;package-management&quot;, &quot;&quot;, &quot;${ROOTFS_PKGMANAGE_BOOTSTRAP}&quot;,d)}&quot;


and in rootfs_rpm.bbclass

ROOTFS_PKGMANAGE_BOOTSTRAP = &quot;rpm-postinsts&quot;


which in danny used to be empty.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33154</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-05-20 15:49:55 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6de55b6968cf8320f95ce2bf859e6244b4de9cf0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33177</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-05-21 10:40:56 +0000</bug_when>
    <thetext>Verified on master branch.
Commit ID:6271ac326d08fb3e9b4c2008b796233ee11a83e4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>