* [Buildroot] [PATCH] apply-patches.sh: add documentation
@ 2012-05-18 20:47 ludovic.desroches at atmel.com
2012-05-19 18:58 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: ludovic.desroches at atmel.com @ 2012-05-18 20:47 UTC (permalink / raw)
To: buildroot
From: Ludovic Desroches <ludovic.desroches@gmail.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@gmail.com>
---
Hi,
Sorry for the delay, but as promised, some comments about the changes done to
apply-patches.sh.
Regards
support/scripts/apply-patches.sh | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh
index f82be86..7a6c1fa 100755
--- a/support/scripts/apply-patches.sh
+++ b/support/scripts/apply-patches.sh
@@ -4,6 +4,29 @@
# -Erik
#
# (c) 2002 Erik Andersen <andersen@codepoet.org>
+#
+# Parameters:
+# - the build directory, optional, default value is '.'. The place where are
+# the package sources.
+# - the patch directory, optional, default '../kernel-patches'. The place
+# where are the scripts you want to apply.
+# - other parameters are the patch name patterns, optional, default value is
+# '*'. Pattern(s) describing the patch names you want to apply.
+#
+# The script will look recursively for patches from the patch directory. If a
+# file is named 'series' then only patches mentionned into it will be applied.
+# If not, the script will look for file names matching pattern(s). If the name
+# ends with '.tar.*', '.tbz2' or '.tgz', the file is considered as an archive
+# and will be uncompressed into a directory named
+# '.patches-name_of_the_archive-unpacked'. It's the turn of this directory to
+# be scanned with '*' as pattern. Remember that scanning is recursive. Other
+# files than series file and archives are considered as a patch.
+#
+# Once a patch is found, the script will try to apply it. If its name doesn't
+# end with '.gz', '.bz', '.bz2', '.zip', '.Z', '.diff*' or '.patch*', it will
+# be skipped. If necessary, the patch will be uncompressed before being
+# applied. The list of the patches applied is stored in '.applied_patches_list'
+# file in the build directory.
# Set directories from arguments, or use defaults.
builddir=${1-.}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] apply-patches.sh: add documentation
2012-05-18 20:47 [Buildroot] [PATCH] apply-patches.sh: add documentation ludovic.desroches at atmel.com
@ 2012-05-19 18:58 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2012-05-19 18:58 UTC (permalink / raw)
To: buildroot
>>>>> <ludovic.desroches@atmel.com> writes:
> From: Ludovic Desroches <ludovic.desroches@gmail.com>
> Signed-off-by: Ludovic Desroches <ludovic.desroches@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-19 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-18 20:47 [Buildroot] [PATCH] apply-patches.sh: add documentation ludovic.desroches at atmel.com
2012-05-19 18:58 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox