diff mbox series

[trusty/retpoline-hints,2/3] UBUNTU: [Packaging] final-checks -- remove check for empty retpoline files

Message ID 20180403165249.15489-7-apw@canonical.com
State New
Headers show
Series [artful/retpoline-hints,1/3] UBUNTU: [Packaging] retpoline hints -- handle missing files when RETPOLINE not enabled | expand

Commit Message

Andy Whitcroft April 3, 2018, 4:52 p.m. UTC
From: Seth Forshee <seth.forshee@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@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 debian/scripts/misc/final-checks | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

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()
 	then
 		failure "$arch/$flavour ABI retpoline file missing"
 	fi
-
-	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