Build perf tools using Python 3
This change updates the Debian build rules to build the Linux perf tools using Python 3 as opposed to Python 2.7 that is currently specified in the rules. Python 2.7 was already dropped from the build requirements, but this line was not updated in the process.
This commit is contained in:
parent
ce7514fc1e
commit
2bb89ae564
1 changed files with 2 additions and 2 deletions
4
debian/rules
vendored
4
debian/rules
vendored
|
@ -140,7 +140,7 @@ debian/${PVE_KERNEL_PKG}.%: debian/templates/pve-kernel.%.in
|
|||
NO_LIBPYTHON=1 \
|
||||
NO_LIBPERL=1 \
|
||||
NO_LIBCRYPTO=1 \
|
||||
PYTHON=python2.7
|
||||
PYTHON=python3
|
||||
echo "checking GPL-2 only perf binary for library linkage with incompatible licenses.."
|
||||
! ldd ${KERNEL_SRC}/tools/perf/perf | grep -q -E '\blibbfd'
|
||||
! ldd ${KERNEL_SRC}/tools/perf/perf | grep -q -E '\blibcrypto'
|
||||
|
@ -208,4 +208,4 @@ debian/${PVE_HEADER_PKG}.%: debian/templates/pve-headers.%.in
|
|||
mv $(OUT_DIR)/include/asm $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)/
|
||||
test ! -d $(OUT_DIR)/include/arch || \
|
||||
mv $(OUT_DIR)/include/arch $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)/
|
||||
touch $@
|
||||
touch $@
|
||||
|
|
Loading…
Reference in a new issue