From: Marcin Krol Date: Thu, 28 Mar 2024 23:53:06 +0000 (+0100) Subject: - fix shebang in mitigation-patching.sh and dt-extract-compatibles X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=936d7cd1b4f8d8dd7341096c55227470c7b6a718;p=packages%2Fkernel.git - fix shebang in mitigation-patching.sh and dt-extract-compatibles --- diff --git a/kernel.spec b/kernel.spec index 2cdaf1d..26db39b 100644 --- a/kernel.spec +++ b/kernel.spec @@ -342,14 +342,15 @@ find -name '*.py' -print0 | \ %{__sed} -i -e '1s,/usr/bin/python$,%{__python},' \ -e '1s,/usr/bin/env python$,%{__python},' \ -e '1s,/usr/bin/env python3$,%{__python3},' \ - drivers/staging/greybus/tools/lbtest \ - scripts/bloat-o-meter \ - scripts/diffconfig \ - scripts/jobserver-exec \ - scripts/show_delta \ - tools/hv/vmbus_testing \ - tools/kvm/kvm_stat/kvm_stat \ - tools/testing/selftests/exec/binfmt_script.py + drivers/staging/greybus/tools/lbtest \ + scripts/bloat-o-meter \ + scripts/diffconfig \ + scripts/dtc/dt-extract-compatibles \ + scripts/jobserver-exec \ + scripts/show_delta \ + tools/hv/vmbus_testing \ + tools/kvm/kvm_stat/kvm_stat \ + tools/testing/selftests/exec/binfmt_script.py find -name '*.pl' -print0 | \ xargs -0 %{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' \ @@ -364,11 +365,10 @@ find -name '*.pl' -print0 | \ scripts/sphinx-pre-install \ scripts/stackdelta -%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+bash(\s|$),#!/bin/bash\\1,' \ - scripts/config - -%{__sed} -i -e '1s,/usr/bin/awk,/bin/awk,' \ - scripts/ld-version.sh +%{__sed} -i -e '1s,/usr/bin/env bash,%{__bash},' \ + tools/testing/selftests/powerpc/security/mitigation-patching.sh \ + scripts/config \ + scripts/check-local-export %build install -d %{objdir}