summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin@gmail.com>2013-11-07 11:41:22 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-11-11 00:10:58 +0100
commit7ad286563e1883f2e17c0d67e055525e840c5420 (patch)
tree64f166d29cd8d73e0c521c996a4e87073b457231 /docs/manual
parente8ab39a7b5205e6a1a076fdda257a5baa32be765 (diff)
downloadbuildroot-7ad286563e1883f2e17c0d67e055525e840c5420.tar.gz
buildroot-7ad286563e1883f2e17c0d67e055525e840c5420.zip
infra: centralize rsync exclude list for VCS files
Buildroot has three places where rsync is used: 1. to copy the target skeleton 2. to copy the rootfs overlay(s) 3. to copy overridden package sources In all of these cases, we want to exclude version control files by default. Place 1 and 2 used an identical set of explicit --exclude options, while place 3 used the option --cvs-exclude. This last option, however, not only excludes version control files, but also binary files (.o, .so) and any file or directory named 'core' (a problem for the linux kernel that has several directories with this name). Moreover, the exact list of excluded files when using --cvs-exclude depends on the version of rsync. This patch creates one global variable RSYNC_VCS_EXCLUSIONS that can be used by the various rsync commands. It excludes the version control files of svn, git, hg, cvs and bzr. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs/manual')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud