Download Slides - Free Electrons

Transcript
Generating patches: with Git
Needs to be done outside of Buildroot: you cannot use the
Buildroot package build directory.
1. Clone the upstream Git repository
git clone git://...
2. Create a branch starting on the tag marking the stable release
of the software as packaged in Buildroot
git checkout -b buildroot-changes v3.2
3. Import existing Buildroot patches (if any)
git am /path/to/buildroot/package/<foo>/*.patch
4. Make your changes and commit them
git commit -s -m ``this is a change''
5. Generate the patches
git format-patch v3.2
free electrons - Embedded Linux, kernel, drivers and Android - Development, consulting, training and support. http://free-electrons.com
190/326