From 7e0d55c5e855f10238cd8b93fd0ab27d87d41240 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:11:02 +0200 Subject: Adding debian version 3.20231114.1~deb12u1. Signed-off-by: Daniel Baumann --- debian/diff-latest-pack.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 debian/diff-latest-pack.sh (limited to 'debian/diff-latest-pack.sh') diff --git a/debian/diff-latest-pack.sh b/debian/diff-latest-pack.sh new file mode 100755 index 0000000..613aa95 --- /dev/null +++ b/debian/diff-latest-pack.sh @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Generate an unified diff of the list of microcodes included in the +# latest two Intel-supplied Microcode packs (microcode-.dat) +# +# Use this to locate updated/removed/added microcodes. Further manual +# analysis is necessary to identify the deletion of recently-added +# or recently-updated microcode, and the addition of previously-deleted +# microcode (often with a version downgrade). +# +# Run this from the directory with the Intel microcode packs. + +export LC_COLLATE=C +PATH=${PATH}:/sbin:/usr/sbin + +FILES=$(ls -1 microcode-*.dat | tail -n 2 | xargs) + +DFILES= +for i in $FILES ; do + fn=$(basename $i) + iucode_tool -q -l $i | sed -e 's/^[^:]\+: //' | sort | grep sig > /tmp/$fn.list + DFILES="${DFILES} /tmp/$fn.list" +done + +diff --unified=1 ${DFILES} | grep sig | sort -k 2 -- cgit v1.2.3