[Unstable][PATCH] UBUNTU: [Packaging] final-checks: Remove useless sourcing of kernelconfig

Juerg Haefliger juerg.haefliger at canonical.com
Fri Jun 24 12:41:53 UTC 2022


kernelconfig only defines 'archs' but 'archs' is overwritten after the
fact so remove the uselsess sourcing. While at it, remove a stray leading
space in the following line.

Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
 debian/scripts/misc/final-checks | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/scripts/misc/final-checks b/debian/scripts/misc/final-checks
index 8a977745a667..07cfb3da33a4 100755
--- a/debian/scripts/misc/final-checks
+++ b/debian/scripts/misc/final-checks
@@ -3,8 +3,7 @@
 debian="$1"
 abi="$2"
 
-. "$debian/etc/kernelconfig"
-archs=$( awk '/^Architecture:/ { $1=""; for (i=1; i<=NF; i++) { if ($i != "all") { print $i }}}' debian/control | sort -u)
+archs=$(awk '/^Architecture:/ { $1=""; for (i=1; i<=NF; i++) { if ($i != "all") { print $i }}}' debian/control | sort -u)
 
 fail=0
 
-- 
2.32.0




More information about the kernel-team mailing list