Bug 9128 - "Using a development shell" section should clarify that commands in a devshell should match the commands that are run by bitbake
Summary: "Using a development shell" section should clarify that commands in a devshel...
Status: VERIFIED DUPLICATE of bug 9114
Alias: None
Product: Development Manual
Classification: Documentation
Component: development (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Scott Rifenbark
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-17 15:24 UTC by Joshua Lock
Modified: 2016-03-07 15:55 UTC (History)
1 user (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 Joshua Lock 2016-02-17 15:24:56 UTC
Some developers expect that once in a devshell they can call commands as if in a normal shell, whereas the reality is that the devshell is a mechanism to get into the bitbake task execution environment and commands must be called in the same manner as bitbake calls them i.e. with appropriate options for cross-compilation, etc.

We should update the "Using the development shell" section of the developer manual to make this clearer.

Furthermore we could point out that a user can use the run.do_* files in temp to a) look at how the tasks are run by bitbake and b) run the commands exactly as bitbake does.

i.e. if I'm in a devshell for connman in a build directory where connman has already built I can re-run the compilation steps by calling ../temp/run.do_compile
Comment 1 Joshua Lock 2016-02-18 15:42:30 UTC
Turns out a remarkably similar bug was filed a couple of days before this.

*** This bug has been marked as a duplicate of bug 9114 ***
Comment 2 Scott Rifenbark 2016-02-18 17:27:37 UTC
I set the doc flag to "No" here since it is a duplicate.
Comment 3 Bogdan Alexandru Voiculescu 2016-03-07 15:55:12 UTC
verified