Commit dda2cc10 authored by Khalid Elmously's avatar Khalid Elmously

UBUNTU: [Packaging] resync retpoline extraction

BugLink: http://bugs.launchpad.net/bugs/1786013Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
parent 8d441239
......@@ -11,10 +11,10 @@ ur_safe=$(mktemp --tmpdir "retpoline-check-XXXXXX.ur-safe")
find "." -path './drivers/firmware/efi/libstub' -prune -o \
-path './arch/x86/boot' -prune -o \
-path './arch/x86/purgatory' -prune -o \
-name \*.ur-detected | xargs cat | \
-name \*.ur-detected -print0 | xargs -0 cat | \
sed -e "s@^$1@@" -e "s@ $2/@ @" -e "s@^/@@" | \
sort -k 1b,1 >"$ur_detected"
find "." -name \*.ur-safe | xargs cat | \
find "." -name \*.ur-safe -print0 | xargs -0 cat | \
sed -e "s@^$1@@" -e "s@^/@@" | \
sort -k 1b,1 >"$ur_safe"
......
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