Bug 7590 - Avoid running do_rootfs within extensible SDK installation
Summary: Avoid running do_rootfs within extensible SDK installation
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.0
Assignee: Paul Eggleton
QA Contact: Costin
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-04-09 14:06 UTC by Paul Eggleton
Modified: 2015-10-22 10:30 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2015-04-09 14:06:27 UTC
The extensible SDK installation process (defined in populate_sdk_ext.bbclass) by default runs bitbake in order to install the sstate cache to the point where you can assemble an image, however at the moment it actually runs do_rootfs which is completely unnecessary. Probably the easiest way to fix this would be to stub out do_rootfs making it a no-op (e.g. by inheriting a class that does this just for this run).
Comment 1 Ross Burton 2015-09-23 16:36:31 UTC
Changing state to Accepted as I can't see the patch.  Chen, if you did send this, can you ping it?
Comment 2 Chen Qi 2015-09-24 02:27:42 UTC
(In reply to comment #1)
> Changing state to Accepted as I can't see the patch.  Chen, if you did send
> this, can you ping it?

I sent one. But it's not correct and I'll rework on this bug.
Thank you for reminding me about this.

Regards,
Chen Qi
Comment 3 Paul Eggleton 2015-10-13 07:27:21 UTC
FYI I've made a fix for this and am testing it now.
Comment 5 Costin 2015-10-22 10:30:47 UTC
Hello,

Tested with latest commit: 505a82673ac2487df5ea343a6422c2fc47018831 on an Ubuntu machine.
Steps performed:
1) ensure having a clean environment (i removed tmp dir)
2) prepare SDK:
bitbake core-image-minimal -c populate_sdk
3) search for any do_rootfs in cooker log:
~/2poky/build/tmp/log/cooker/genericx86$ ls
20151022083315.log
~/2poky/build/tmp/log/cooker/genericx86$ grep rootfs 20151022083315.log

Marking as verified.