![]() |
OpenEmbedded.MakeATemporaryChangeToTheOEBuild HistoryHide minor edits - Show changes to markup March 15, 2005, at 05:15 AM
by --
Added lines 114-121:
When everything compiles fine remove the stamp files and execute a
bitbake build. Without this the installation steps will not be
performed - the package must be installed then the image ( This trick also works for the March 15, 2005, at 05:06 AM
by --
Changed line 59 from:
because if you do not it is much more difficult to GenerateAPatchForTheOEBuild?. to:
because if you do not it is much more difficult to GenerateANewPatchForTheOEBuild. March 15, 2005, at 05:04 AM
by --
Changed lines 17-18 from:
destroy any changes. Still this is just about the only way to debug something which already exists in the bitbake build. to:
destroy any changes. Nevertheless this is just about the only way to debug something which already exists in the bitbake build. Changed lines 74-76 from:
get stamp files for more than one package. This command relies on the bitbake steps taking at least 1 second each. If you have a very fast machine then you will have to learn the order of the steps... to:
get stamp files for more than one package. Make sure you don't remove
the Changed lines 87-88 from:
URIS given by to:
Changed lines 89-90 from:
entires in to:
Changed lines 91-95 from:
script. This may also hack the source directory - for example with
the kernel and busybox to:
Changed lines 95-96 from:
this might only be doing something for locally used packages to:
Changed lines 97-99 from:
look in the to:
Changed lines 99-100 from:
a wrapper for the previous two steps-] to:
Changed lines 111-112 from:
After this I can just type to:
After this I can just type Changed lines 138-139 from:
Execute to:
Execute March 15, 2005, at 03:16 AM
by --
Deleted lines 0-1:
How To Make A Temporary Change To The OE BuildChanged line 29 from:
above directory, will result in a different name because it has a to:
package directory, will result in a different name because it has a Changed lines 31-32 from:
which determines the standard working directory base name. Most of the time, however, the package directory name is used. to:
which determines the standard working directory base name. You may
need to search all the package directories (this is what bitbake does
with the echo openembedded/packages/*/name-of-package*.bb
Typically, however, the package directory name is used. Changed line 39 from:
Now find the working directory, to:
Now find the working directory. To do this Changed line 52 from:
to:
Changed lines 78-82 from:
Notice that there is a stamp to:
Notice that output of the March 15, 2005, at 03:09 AM
by --
Changed lines 1-157 from:
Describe MakeATemporaryChangeToTheOEBuild here. to:
How To Make A Temporary Change To The OE BuildWhen you build OpenSlug or Unslung from the
OpenEmbedded/bitbake/BitKeeper build system you are actually building
a system to build a system. bitbake is not bitbake takes a set of instructions, Therefore most of the time you do not want to debug bitbake, you want
to debug what bitbake assembled in the Any such debugging and bug fixing is very temporary, the next
Find your packageFirst locate the problem package. Find the echo openembedded/packages/name-of-package*
Add more Now find the working directory, echo work/name-of-package*
Most of the time you can skip the first step, but it is often helpful
to know where the bitbake source for the package is. For the kernel
the package is in Change the package
When you make changes, copy the original file before editing it.
Copy it to a file called something like Rebuild the packageBecause this is a temporary change you can't simply use bitbake to
rebuild. Try it - nothing will happen! That's because bitbake
believes that the package is up-to-date. To persuade it that it
isn't carefully remove the ls -1rt stamps/name-of-package*
This lists the stamp files in order of creation. Make sure you don't get stamp files for more than one package. This command relies on the bitbake steps taking at least 1 second each. If you have a very fast machine then you will have to learn the order of the steps... Notice that there is a stamp
URIS given by
entires in
script. This may also hack the source directory - for example with
the kernel and busybox
this might only be doing something for locally used packages
look in the
a wrapper for the previous two steps-] Typically you do always want to do the steps after Repeating the compile stepLook in the package cp temp/run.do_compile.* ./dcomp
After this I can just type A trick for busybox and the kernelBusybox and the kernel are both extensively configurable. It's
useful to be able to change the configuration. For this you must
rerun the To use this do the following: cp temp/run.do_configure.* ./dconf
vi ./dconf
(Ok, you don't have to use yes ' ' | oe_runmake oldconfig
Change the lines to say: oe_runmake menuconfig
Execute You must remove the When you exit you write a new The |