registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #28368
[Bug 677644] Re: RPM complains if host /boot partition is less than 125MB
Launchpad has imported 2 comments from the remote bug at
http://bugzilla.pokylinux.org/show_bug.cgi?id=517.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2010-11-01T17:06:28+00:00 Rob Woolley wrote:
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 <PKG> 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'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.
Reply at: https://bugs.launchpad.net/poky/+bug/677644/comments/0
------------------------------------------------------------------------
On 2010-11-19T21:15:10+00:00 Jeff Johnson wrote:
tracked at https://bugs.launchpad.net/rpm/+bug/677644
Yes other options are needed with --justdb. Arguably,
--justdb COULD imply other options. That hasn't/wasn'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's another approach using a popt alias that is
quite simple (see "man 3 popt" 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 "--dorootfs".
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.
Reply at: https://bugs.launchpad.net/poky/+bug/677644/comments/2
** Changed in: poky
Importance: Unknown => Low
--
RPM complains if host /boot partition is less than 125MB
https://bugs.launchpad.net/bugs/677644
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Poky Linux.
References