[xenial/master-next 1/2] UBUNTU: [Packaging] final-checks -- remove check for empty retpoline files

Andy Whitcroft apw at canonical.com
Tue Apr 3 16:52:48 UTC 2018

From: Seth Forshee <seth.forshee at canonical.com>

With the new support for removing known safe retpoline sequences
from the ones which were detected it is now completely valid to
end up with an empty retpoline file in the abi. Remove the
check for empty retpoline files so this will not cause an error.

BugLink: http://bugs.launchpad.net/bugs/1758856
Signed-off-by: Seth Forshee <seth.forshee at canonical.com>
Signed-off-by: Andy Whitcroft <apw at canonical.com>
 debian/scripts/misc/final-checks | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/debian/scripts/misc/final-checks b/debian/scripts/misc/final-checks
index aec25770ea1b..548dea99e6a0 100755
--- a/debian/scripts/misc/final-checks
+++ b/debian/scripts/misc/final-checks
@@ -41,11 +41,6 @@ abi_check()
 		failure "$arch/$flavour ABI retpoline file missing"
-	if [ -f "$abidir/$flavour.retpoline" -a \
-	     ! -s "$abidir/$flavour.retpoline" ]; then
-		failure "$arch/$flavour ABI retpoline file empty -- must regenerate or ignore"
-	fi
 for arch in $archs

More information about the kernel-team mailing list