kernel-6.7-xanmod/unversioned-python-shebangs-are-not-allowed-error-avoid.patch

16 lines
903 B
Diff
Raw Normal View History

2021-09-03 20:53:50 +03:00
diff -Naur linux-5.14.orig/tools/perf/scripts/python/libxed.py linux-5.14/tools/perf/scripts/python/libxed.py
--- linux-5.14.orig/tools/perf/scripts/python/libxed.py 2021-09-03 20:47:57.794788303 +0300
+++ linux-5.14/tools/perf/scripts/python/libxed.py 2021-09-03 20:47:57.888788308 +0300
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0
# libxed.py: Python wrapper for libxed.so
# Copyright (c) 2014-2021, Intel Corporation.
2022-10-04 21:36:25 +03:00
diff -Naur linux-6.0.orig/tools/perf/tests/shell/lib/perf_json_output_lint.py
--- linux-6.0.orig/tools/perf/tests/shell/lib/perf_json_output_lint.py 2021-09-03 20:47:57.794788303 +0300
+++ linux-6.0/tools/perf/tests/shell/lib/perf_json_output_lint.py 2021-09-03 20:47:57.888788308 +0300
@@ -1,3 +1,2 @@
-#!/usr/bin/python
2022-10-05 08:00:32 +03:00
# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
# Basic sanity check of perf JSON output as specified in the man page.