From: Mark Hatle <mark.hatle@windriver.com>
To: poky@pokylinux.org
Subject: Re: do_rootfs() RPM error message
Date: Sat, 30 Oct 2010 09:17:55 +0100 [thread overview]
Message-ID: <4CCBD4B3.1090300@windriver.com> (raw)
In-Reply-To: <AANLkTikxFm-z7tUAJV8zMvxOqQ3u3A9GbaSdJy0yuJjr@mail.gmail.com>
Please file a bug in the bugzilla.yoctoproject.org and attach the patch. I'll
get it generated as soon as I get back to the states from CELF.
--Mark
On 10/29/10 8:48 PM, Rob Woolley wrote:
> Hi,
>
> 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.
>
> Cheers,
> Rob
>
> diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
> index 6e9cbba..ceab7c9 100644
> --- a/meta/classes/rootfs_rpm.bbclass
> +++ b/meta/classes/rootfs_rpm.bbclass
> @@ -80,7 +80,7 @@ fakeroot rootfs_rpm_do_rootfs () {
> # an actual package install!
> ${RPM} -D "_dbpath ${IMAGE_ROOTFS}/install" -D "`cat
> ${DEPLOY_DIR_RPM}/solvedb.macro`" \
> -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync" \
> - -U --justdb --noscripts --notriggers --noparentdirs
> --nolinktos \
> + -U --justdb --noscripts --notriggers --noparentdirs
> --nolinktos --ignoresize \
> ${IMAGE_ROOTFS}/install/install.manifest
>
> if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then
> _______________________________________________
> poky mailing list
> poky@pokylinux.org
> https://lists.pokylinux.org/listinfo/poky
next prev parent reply other threads:[~2010-10-30 8:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-29 19:48 do_rootfs() RPM error message Rob Woolley
2010-10-30 8:17 ` Mark Hatle [this message]
2010-11-01 17:07 ` Rob Woolley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CCBD4B3.1090300@windriver.com \
--to=mark.hatle@windriver.com \
--cc=poky@pokylinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.