kumquat-buildroot/support/scripts
Thomas Petazzoni 85f11d08c3 support/scripts/apply-patches.sh: do not apply patches with renames
Patches with renames apply properly with patch >= 2.7, but not with
older patch versions. Since "git format-patch" by default generates
patches with renames, Buildroot developers often don't realize that
their patches will not apply properly on build machines that have
patch < 2.7. In order to prevent such a situation from happening
again, this commit adds some logic in apply-patches.sh to refuse
applying patches that contain renames.

Note that just searching for '^rename' is not sufficient, since the
patch commit message may contain the words "rename from" or "rename to"
as well. Therefore, the grep expression is made as accurate as possible,
checking both.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Arnout: spaces instead of tabs (suggested by Yann);
 extend commit message.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2017-09-19 22:51:25 +02:00
..
apply-patches.sh support/scripts/apply-patches.sh: do not apply patches with renames 2017-09-19 22:51:25 +02:00
br2-external support/scripts: fix shebang with bash 2017-06-08 21:43:05 +02:00
brpkgutil.py graph-depends: rename pkgutil.py to brpkgutil.py 2017-03-21 23:11:04 +01:00
check-bin-arch support/scripts/check-bin-arch: fix symbolic link check 2017-09-05 20:59:04 +02:00
check-host-rpath check-host-rpath: no longer allow $(HOST_DIR)/usr 2017-07-05 16:54:12 +02:00
check-kernel-headers.sh
eclipse-register-toolchain eclipse-register-toolchain: toolchain is no longer installed in $(HOST_DIR)/usr 2017-07-05 16:06:27 +02:00
expunge-gconv-modules
fix-configure-powerpc64.sh support/scripts: fix shebang with bash 2017-06-08 21:43:05 +02:00
fix-rpath support/scripts/fix-rpath: typo fix and unneeded "; " removed 2017-07-22 14:38:43 +02:00
genimage.sh support/scripts: fix shebang with bash 2017-06-08 21:43:05 +02:00
graph-build-time support/scripts: fix graph-build-time help text 2016-05-24 23:26:25 +02:00
graph-depends support/scripts: fix shebang with python 2017-06-07 21:55:10 +02:00
hardlink-or-copy support/scripts: fix shebang with bash 2017-06-08 21:43:05 +02:00
mkmakefile Makefile: Remove 'quiet' variable 2015-10-29 00:04:05 +01:00
mkusers support/scripts: allow /etc/shadow to be symlinked 2017-06-24 17:49:48 +02:00
pkg-stats pkg-stats: add exception for nvidia-tegra23.mk 2017-07-06 21:46:04 +02:00
pycompile.py pycompile: allow to force compilation 2017-03-20 23:00:25 +01:00
setlocalversion setlocalversion: fix detection of hg revision for untagged versions 2017-07-03 11:40:49 +02:00
size-stats size-stats: don't count hard links 2017-02-06 19:38:53 +01:00
xorg-release support/scripts: fix shebang with python 2017-06-07 21:55:10 +02:00