* do_rootfs() RPM error message
@ 2010-10-29 19:48 Rob Woolley
2010-10-30 8:17 ` Mark Hatle
0 siblings, 1 reply; 3+ messages in thread
From: Rob Woolley @ 2010-10-29 19:48 UTC (permalink / raw)
To: poky
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: do_rootfs() RPM error message
2010-10-29 19:48 do_rootfs() RPM error message Rob Woolley
@ 2010-10-30 8:17 ` Mark Hatle
2010-11-01 17:07 ` Rob Woolley
0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2010-10-30 8:17 UTC (permalink / raw)
To: poky
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: do_rootfs() RPM error message
2010-10-30 8:17 ` Mark Hatle
@ 2010-11-01 17:07 ` Rob Woolley
0 siblings, 0 replies; 3+ messages in thread
From: Rob Woolley @ 2010-11-01 17:07 UTC (permalink / raw)
To: Mark Hatle; +Cc: poky
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@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@pokylinux.org
>> https://lists.pokylinux.org/listinfo/poky
>
> _______________________________________________
> poky mailing list
> poky@pokylinux.org
> https://lists.pokylinux.org/listinfo/poky
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-01 17:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-29 19:48 do_rootfs() RPM error message Rob Woolley
2010-10-30 8:17 ` Mark Hatle
2010-11-01 17:07 ` Rob Woolley
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.