]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
UBUNTU: [Packaging] pull in retpoline files
authorAndy Whitcroft <apw@canonical.com>
Sun, 11 Feb 2018 11:29:18 +0000 (11:29 +0000)
committerAndy Whitcroft <apw@canonical.com>
Mon, 12 Feb 2018 16:26:16 +0000 (16:26 +0000)
CVE-2017-5715 (Spectre v2 Intel)

Signed-off-by: Andy Whitcroft <apw@canonical.com>
debian/scripts/misc/getabis

index c7a0c5fe23213501db2081e4a7f2cc5688be5c06..89b14af3feb8051abb2e65aefffec0d2ba4bdc5b 100755 (executable)
@@ -75,6 +75,11 @@ getall() {
                        else
                                echo -n "NO ABI FILE..."
                        fi
+                       if [ -f tmp/boot/retpoline-* ]; then
+                               mv tmp/boot/retpoline-* $abidir/$arch/$sub.retpoline
+                       else
+                               echo -n "NO RETPOLINE FILE..."
+                       fi
                        (cd tmp; find lib/modules/$verabi-$sub/kernel -name '*.ko') | \
                                sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > \
                                $abidir/$arch/$sub.modules