Commit e1b6ef58 authored by Andy Whitcroft's avatar Andy Whitcroft

UBUNTU: [Packaging] retpoline files must be sorted

CVE-2017-5715 (Spectre v2 Intel)
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent 8eee103a
......@@ -21,8 +21,8 @@ retpoline-check-%: $(stampdir)/stamp-build-%
@echo Debug: $@
install -d $(abidir)
if grep -q CONFIG_RETPOLINE=y $(builddir)/build-$*/.config; then \
$(SHELL) $(DROOT)/scripts/retpoline-extract $(builddir)/build-$* \
>$(abidir)/$*.retpoline; \
$(SHELL) $(DROOT)/scripts/retpoline-extract $(builddir)/build-$* | \
sort >$(abidir)/$*.retpoline; \
else \
echo "# RETPOLINE NOT ENABLED" >$(abidir)/$*.retpoline; \
fi
......
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