[poky] do_rootfs() RPM error message

Rob Woolley rcwoolley at gmail.com
Mon Nov 1 10:07:34 PDT 2010


Thanks, Mark.

I've filed the bug: http://bugzilla.pokylinux.org/show_bug.cgi?id=517

Best regards,
Rob

On Sat, Oct 30, 2010 at 4:17 AM, Mark Hatle <mark.hatle at windriver.com> wrote:
> 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 at pokylinux.org
>> https://lists.pokylinux.org/listinfo/poky
>
> _______________________________________________
> poky mailing list
> poky at pokylinux.org
> https://lists.pokylinux.org/listinfo/poky
>



More information about the poky mailing list