mbox series

[4.14,0/2] Allow builds and script usage on current systems

Message ID 20210526041728.4114392-1-nicolas@fjasle.eu
Headers show
Series Allow builds and script usage on current systems | expand

Message

Nicolas Schier May 26, 2021, 4:17 a.m. UTC
Current distributions start removing support for Python 2 (and thus
/usr/bin/python).  To still be able to build v4.14.y and to run
supplementary scripts fix shebang lines to use 'env' and switch
diffconfig and bloat-o-meter to Python 3 explicitly.

Python 3 availability should be given on v4.14 based distributions
(for comparison: Debian jessie 8 (est. 2013) shipped a 3.16 kernel and
Python 3).

Both upstream commits are originally included in v5.11 and re-applied on
v5.10, v5.4 and v4.19.


Andy Shevchenko (1):
  scripts: switch explicitly to Python 3

Finn Behrens (1):
  tweewide: Fix most Shebang lines

 Documentation/sphinx/parse-headers.pl                          | 2 +-
 Documentation/target/tcm_mod_builder.py                        | 2 +-
 Documentation/trace/postprocess/decode_msr.py                  | 2 +-
 Documentation/trace/postprocess/trace-pagealloc-postprocess.pl | 2 +-
 Documentation/trace/postprocess/trace-vmscan-postprocess.pl    | 2 +-
 arch/ia64/scripts/unwcheck.py                                  | 2 +-
 scripts/bloat-o-meter                                          | 2 +-
 scripts/config                                                 | 2 +-
 scripts/diffconfig                                             | 2 +-
 scripts/show_delta                                             | 2 +-
 scripts/sphinx-pre-install                                     | 2 +-
 scripts/tracing/draw_functrace.py                              | 2 +-
 tools/kvm/kvm_stat/kvm_stat                                    | 2 +-
 tools/perf/python/tracepoint.py                                | 2 +-
 tools/perf/python/twatch.py                                    | 2 +-
 tools/perf/scripts/python/call-graph-from-sql.py               | 2 +-
 tools/perf/scripts/python/sched-migration.py                   | 2 +-
 tools/perf/tests/attr.py                                       | 2 +-
 tools/perf/util/setup.py                                       | 2 +-
 tools/power/pm-graph/analyze_boot.py                           | 2 +-
 tools/power/pm-graph/analyze_suspend.py                        | 2 +-
 tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py     | 2 +-
 tools/testing/ktest/compare-ktest-sample.pl                    | 2 +-
 tools/testing/selftests/tc-testing/tdc_batch.py                | 2 +-
 24 files changed, 24 insertions(+), 24 deletions(-)

Comments

Greg KH May 27, 2021, 9:21 a.m. UTC | #1
On Wed, May 26, 2021 at 06:17:26AM +0200, Nicolas Schier wrote:
> Current distributions start removing support for Python 2 (and thus

> /usr/bin/python).  To still be able to build v4.14.y and to run

> supplementary scripts fix shebang lines to use 'env' and switch

> diffconfig and bloat-o-meter to Python 3 explicitly.

> 

> Python 3 availability should be given on v4.14 based distributions

> (for comparison: Debian jessie 8 (est. 2013) shipped a 3.16 kernel and

> Python 3).

> 

> Both upstream commits are originally included in v5.11 and re-applied on

> v5.10, v5.4 and v4.19.


All now queued up, thanks.

greg k-h