Commit 6d2ed59e authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Kleber Sacilotto de Souza

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

BugLink: http://bugs.launchpad.net/bugs/1751021Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 726a510e
......@@ -41,6 +41,11 @@ 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