![]() |
OpenEmbedded.ChangingTheOEBuild HistoryHide minor edits - Show changes to markup March 15, 2005, at 05:08 AM
by --
Deleted lines 0-1:
Changing The OpenEmbedded BuildMarch 15, 2005, at 02:14 AM
by --
Changed lines 121-125 from:
when you to:
when you Incidentally the March 15, 2005, at 02:10 AM
by --
Changed lines 1-125 from:
Describe ChangingTheOEBuild here. to:
Changing The OpenEmbedded BuildThis is not for the faint of heart, yet it is easy to make relatively small changes safely and it is just as easy to make relatively major changes unsafely. Because the changes are made in the bitkeeper source tree it is easy to remove them, and bitkeeper will help you to both remove them (when everything goes wrong) and keep them when changes are made in the parent archive (that's the bk: repository you cloned originally.) The manual at http://www.bitkeeper.com/UG/ is fairly good as is
the built in help Changing a packageHaving found the package directory you can safely change any of the files by making them writable with: bk edit name-of-file
Then simply change the file and rebuild. To ensure a rebuild
happens go into the temporary directory and locate the
echo stamps/package-name*
Check the result, you may need to be more specific with the
package name (e.g. you will often find that both rm stamps/package-name*
If in doubt remove the entire temporary directory and rebuild from scratch (overnight!) Saving, or discarding, your changesWhen you've finished hacking either discard your changes: bk unedit name-of-file
This loses the changes for ever. Alternatively keep them: bk ci name-of-file
If you've hacked a lot of stuff just go into the top
( bk citool
BitKeeper will find everything that you have changed in
the The last command allows you to check in or discard every
change. Notice that this is just a change to your local
repository - you can't harm anyone elses work by doing this.
At the bottom of the window is a weird coloured item for
a Handling remote changesWhen you [-jbowler: There must be a way of restarting from the When a remote change overlaps with one of your own you will
end up running Tricks for hacking specific thingsIt's easy to change the bitbake files stored under bitkeeper and that's the only thing that can be permanently changed, but normally those files are patches to a remote source distribution. Hacking a patch file is neither fun nor a good idea. Instead you probably want to MakeATemporaryChangeToTheOEBuild
in the temporary bitbake working directory for the package
and GenerateANewPatchForTheOEBuild. This can then be added to the
SRC_URI += " mypatch.patch;patch=1"
after the |