Version 1 (modified by stappers, 12 years ago) (diff) |
---|
Hello,
This file is used during
make stappers
It modifies the default configuration for him.
Reason that this works is due 'patch'. This is from manual page.
patch tries to skip any leading garbage, apply the diff, and then skip any trailing garbage. Thus you could feed an article or message con‐ taining a diff listing to patch, and it should work.
Cool feature is that a second
make stappers
will undo the modifications, so a svn commit wouldn't see the changes.
Action
Example output
first
$ make stappers patch < PatchConfigStappers patching file Config.in
second
$ make stappers patch < PatchConfigStappers patching file Config.in Reversed (or previously applied) patch detected! Assume -R? [n] y
Where the y is a manual addition.
Actual patch
Index: Config.in =================================================================== --- Config.in (revision 178) +++ Config.in (working copy) @@ -885,7 +885,7 @@ config DEBIAN_BUILDENV_REPOSITORY string "Debian Repository" - default "http://ftp.debian.org/debian" + default "http://ftp.nl.debian.org/debian" help Specify the Debian Repository used to set up de Debian Cross-Compile chroot environment and used to install Debian chroot for the target architecture. @@ -948,6 +948,7 @@ config OPENWRT_DOWNLOAD_DIR string "Alternate OpenWrt download directory" + default "../../../wrtdl" help When checking out and building multiple revisions of OpenWrt it comes in handy to not download all required external sources over
End of file that wouldn't fit in a Makefile ...
Attachments (1)
-
PatchConfigStappers
(752 bytes) -
added by stappers 12 years ago.
PatchConfigStappers
Download all attachments as: .zip