Bug 890 - do_rootfs/RPM fails for poky-image-minimal on qemuarm
Summary: do_rootfs/RPM fails for poky-image-minimal on qemuarm
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Mark Hatle
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-16 20:41 UTC by Denys Dmytriyenko
Modified: 2011-03-18 10:01 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
log.do_rootfs (20.30 KB, application/octet-stream)
2011-03-16 20:41 UTC, Denys Dmytriyenko
no flags Details
log.do_rootfs with -vv added to RPM (77.54 KB, application/octet-stream)
2011-03-16 20:52 UTC, Denys Dmytriyenko
no flags Details
Bitbake patch to set the pseudo environment (5.40 KB, patch)
2011-03-17 20:42 UTC, Mark Hatle
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denys Dmytriyenko 2011-03-16 20:41:13 UTC
Created attachment 113 [details]
log.do_rootfs

Latest oe-core, building poky-image-minimal for qemuarm on Ubuntu 10.04.2, enabled rpm and opkg.

Attached /OE/core-build/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-minimal-1.0-r0/temp/log.do_rootfs.4436
Comment 1 Denys Dmytriyenko 2011-03-16 20:52:48 UTC
Created attachment 114 [details]
log.do_rootfs with -vv added to RPM

Added -vv to rpm command
Comment 2 Mark Hatle 2011-03-16 20:56:49 UTC
This looks almost exactly like the problem reported by Khem Raj on Ubuntu 11.04-alpha.
Comment 3 Mark Hatle 2011-03-17 13:55:44 UTC
I was able to reproduce this problem on Ubuntu 10.04.2 running the _OE_ version of bitbake.  Using the Poky version of Bitbake, I was unable to reproduce the problem.

Investigating further....
Comment 4 Mark Hatle 2011-03-17 20:42:14 UTC
Created attachment 120 [details]
Bitbake patch to set the pseudo environment

This patch, applied to current bitbake (oe) head should resolve the problem.
Comment 5 Mark Hatle 2011-03-17 20:43:31 UTC
Attached is a fix for this issue.

It was determined that a patch from Poky did not make it into the upstream bitbake.  This prevented pseudo from running during the rootfs creation, causing RPM to shutdown without an error message.

NOTE: this defect is specific to oe-core + oe (upstream) bitbake.  It does not affect Yocto 1.0.
Comment 6 Mark Hatle 2011-03-18 09:10:38 UTC
Fix has been applied to upstream bitbake:

http://git.openembedded.org/cgit.cgi/bitbake/commit/?id=e736fa456dee04cb0d177272c1e1c611b1e119d7
Comment 7 Mark Hatle 2011-03-18 10:01:29 UTC
A second commit was necessary to activate the first

http://git.openembedded.org/cgit.cgi/bitbake/commit/?id=9e9c75761e51c852e029ccd638d9df35d04129da