[Buildroot] [PATCH 4/5] apply-patches.sh: directories are no more considered as overlays
ludovic.desroches at atmel.com
ludovic.desroches at atmel.com
Mon Feb 20 16:01:52 UTC 2012
From: Ludovic Desroches <ludovic.desroches at atmel.com>
When a directory is found in patchdir, it is skipped.
Signed-off-by: Ludovic Desroches <ludovic.desroches at atmel.com>
Tested-by: Ludovic Desroches <ludovic.desroches at atmel.com>
with an armadeus_apf9328_defconfig build
---
support/scripts/apply-patches.sh | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh
index 8c38007..25cf8ce 100755
--- a/support/scripts/apply-patches.sh
+++ b/support/scripts/apply-patches.sh
@@ -31,10 +31,7 @@ for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do
apply="patch -g0 -p1 -E -d"
uncomp_parm=""
if [ -d "${patchdir}/$i" ] ; then
- type="directory overlay"
- uncomp="tar cf - --exclude=.svn --no-anchored -C"
- uncomp_parm="."
- apply="tar xvf - -C"
+ echo "${patchdir}/$i skipped"
else case "$i" in
*.gz)
type="gzip"; uncomp="gunzip -dc"; ;;
--
1.7.5.4
More information about the buildroot
mailing list