]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
UBUNTU: [Packaging] final-checks -- remove check for empty retpoline files
authorSeth Forshee <seth.forshee@canonical.com>
Tue, 3 Apr 2018 16:52:00 +0000 (18:52 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 5 Apr 2018 08:14:28 +0000 (10:14 +0200)
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>
Acked-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
debian/scripts/misc/final-checks

index aec25770ea1bedf6dce4efdcd7411b22a78285bd..548dea99e6a03de321e6b1c3ad7c9f56e2d0dcb8 100755 (executable)
@@ -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