<?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>517</bug_id>
          
          <creation_ts>2010-11-01 10:06:28 +0000</creation_ts>
          <short_desc>RPM complains if host /boot partition is less than 125MB</short_desc>
          <delta_ts>2011-02-01 09:57:04 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>All</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>minor</bug_severity>
          <target_milestone>1.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rob Woolley">rcwoolley</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>n3npq</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>10821</commentid>
    <comment_count>0</comment_count>
    <who name="Rob Woolley">rcwoolley</who>
    <bug_when>2010-11-01 10:06:28 +0000</bug_when>
    <thetext>I ran into a minor build system glitch and wanted to share the
workaround I used.

I was following the steps in the Poky quick start guide.  When the
build got to the do_rootfs() task, the rpm command complained on all
packages with:

       installing package &lt;PKG&gt; needs 125MB on the /boot filesystem

My /boot partition is only 100MB which is what triggered the problem.

However, since the disk space on the host filesystem is irrelevant for
assembling the rootfs for the target, I added --ignoresize to the rpm
line that triggered the problem.

I suspect that it&apos;s related to the fact that rpm -U was used with
--justdb and without --root.  It may be needed on similar rpm calls as
well.

Once I made the change my build completed successfully.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10927</commentid>
    <comment_count>1</comment_count>
    <who name="Jeff Johnson">n3npq</who>
    <bug_when>2010-11-19 13:15:10 +0000</bug_when>
    <thetext>tracked at https://bugs.launchpad.net/rpm/+bug/677644

Yes other options are needed with --justdb. Arguably,
--justdb COULD imply other options. That hasn&apos;t/wasn&apos;t
done in RPM because options and functionality can/do change,
and with the number of options present, the matrix is quite
large and unmaintainable.

There&apos;s another approach using a popt alias that is
quite simple (see &quot;man 3 popt&quot; or look at /usr/lib/rpm/rpmpopt*
for examples). Instead of having --foo imply --bar, then
add a --foobar popt alias that is the combination of --foo and --bar.

In this specific case, create, say, a --dorootfs popt alias which
passes --justdb --ignoresize to rpm, and change the Poky quick
start guide to use &quot;--dorootfs&quot;.

If you chose some name spacing in option names like
    --poky:rootfs
the options COULD be added to rpmpopt.in @rpm5.org rather easily as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11634</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-02-01 09:57:04 +0000</bug_when>
    <thetext>I believe this problem has been corrected in the latest version by adding --ignoresize to the appropriate install calls in meta/classes/rootfs_rpm.bbclass.

If you experience this issue again, please reopen this defect.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>