Commit 5f90afc1 authored by Seth Forshee's avatar Seth Forshee Committed by Kleber Sacilotto de Souza

UBUNTU: [Packaging] final-checks -- remove check for empty retpoline files

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/1758856Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarJuerg Haefliger <juerg.haefliger@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 96370490
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment