From 268761383b0dd3f2355cfcea2bf30be8cc7e8e67 Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Fri, 7 Oct 2011 20:37:52 +0000 Subject: [PATCH] * debian/patches/series: Add new patch. * debian/patches/tools-perf-install.patch: Install perf scripts non-executable. svn path=/dists/trunk/linux-tools/; revision=18162 --- debian/patches/series | 1 + debian/patches/tools-perf-install.patch | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 debian/patches/tools-perf-install.patch diff --git a/debian/patches/series b/debian/patches/series index 91a9e4ed8..fd1f7d4cc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ modpost-symbol-prefix.patch tools-perf-version.patch +tools-perf-install.patch diff --git a/debian/patches/tools-perf-install.patch b/debian/patches/tools-perf-install.patch new file mode 100644 index 000000000..dc34577f3 --- /dev/null +++ b/debian/patches/tools-perf-install.patch @@ -0,0 +1,20 @@ +--- a/tools/perf/Makefile ++++ b/tools/perf/Makefile +@@ -863,13 +863,13 @@ + $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/Perf-Trace-Util/lib/Perf/Trace' + $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/bin' + $(INSTALL) $(OUTPUT)perf-archive -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)' +- $(INSTALL) scripts/perl/Perf-Trace-Util/lib/Perf/Trace/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/Perf-Trace-Util/lib/Perf/Trace' +- $(INSTALL) scripts/perl/*.pl -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl' ++ $(INSTALL) -m 644 scripts/perl/Perf-Trace-Util/lib/Perf/Trace/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/Perf-Trace-Util/lib/Perf/Trace' ++ $(INSTALL) -m 644 scripts/perl/*.pl -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl' + $(INSTALL) scripts/perl/bin/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/bin' + $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/python/Perf-Trace-Util/lib/Perf/Trace' + $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/python/bin' +- $(INSTALL) scripts/python/Perf-Trace-Util/lib/Perf/Trace/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/python/Perf-Trace-Util/lib/Perf/Trace' +- $(INSTALL) scripts/python/*.py -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/python' ++ $(INSTALL) -m 644 scripts/python/Perf-Trace-Util/lib/Perf/Trace/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/python/Perf-Trace-Util/lib/Perf/Trace' ++ $(INSTALL) -m 644 scripts/python/*.py -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/python' + $(INSTALL) scripts/python/bin/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/python/bin' + + install-python_ext: