aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/ubuntu-fix-unusual-interpreter.patch31
2 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
index 1e41329b..cbf06b31 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
ubuntu-fix-vhost-user-socket-permission.patch
ubuntu-fix-double-license-info.patch
+ubuntu-fix-unusual-interpreter.patch
diff --git a/debian/patches/ubuntu-fix-unusual-interpreter.patch b/debian/patches/ubuntu-fix-unusual-interpreter.patch
new file mode 100644
index 00000000..106703af
--- /dev/null
+++ b/debian/patches/ubuntu-fix-unusual-interpreter.patch
@@ -0,0 +1,31 @@
+Description: examples: fix unusual-interpreter
+
+Due to regular lintian checks in Debian packaging it surfaced that these
+two scripts had a space in their #! statement which renders it to be
+human, but not shell readable.
+
+Fixes: 8673a3e8 ("examples/ip_pipeline: add config diagram generator")
+Fixes: fa667b46 ("examples/ip_pipeline: add core mappings script")
+
+This gets rid of lintian warning "W: dpdk-doc: unusual-interpreter"
+
+Forwarded: yes
+Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
+Last-Update: 2016-08-01
+
+--- a/examples/ip_pipeline/config/diagram-generator.py
++++ b/examples/ip_pipeline/config/diagram-generator.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/python2
++#!/usr/bin/python2
+
+ # BSD LICENSE
+ #
+--- a/examples/ip_pipeline/config/pipeline-to-core-mapping.py
++++ b/examples/ip_pipeline/config/pipeline-to-core-mapping.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/python2
++#!/usr/bin/python2
+
+ # BSD LICENSE
+ #