diff --git a/blobs/t420/extract.sh b/blobs/t420/extract.sh index 422924741..812d51664 100755 --- a/blobs/t420/extract.sh +++ b/blobs/t420/extract.sh @@ -55,10 +55,9 @@ cp "$FILE" $bioscopy cd "$extractdir" $IFDTOOL -x $bioscopy cp "$extractdir/flashregion_3_gbe.bin" "$BLOBDIR/gbe.bin" -$MECLEAN -O "$BLOBDIR/me.bin" -r -t "$extractdir/flashregion_2_intel_me.bin" +$MECLEAN -r -t -d -O /tmp/unneeded.bin -D "$BLOBDIR/ifd.bin" -M "$BLOBDIR/me.bin" "$extractdir/flashregion_2_intel_me.bin" $IFDTOOL -n "$BLOBDIR/layout.txt" $bioscopy $IFDTOOL -x $bioscopy.new -cp "$extractdir/flashregion_0_flashdescriptor.bin" "$BLOBDIR/ifd.bin" rm "$bioscopy" rm "$bioscopy.new" diff --git a/blobs/x220/extract.sh b/blobs/x220/extract.sh index 422924741..812d51664 100755 --- a/blobs/x220/extract.sh +++ b/blobs/x220/extract.sh @@ -55,10 +55,9 @@ cp "$FILE" $bioscopy cd "$extractdir" $IFDTOOL -x $bioscopy cp "$extractdir/flashregion_3_gbe.bin" "$BLOBDIR/gbe.bin" -$MECLEAN -O "$BLOBDIR/me.bin" -r -t "$extractdir/flashregion_2_intel_me.bin" +$MECLEAN -r -t -d -O /tmp/unneeded.bin -D "$BLOBDIR/ifd.bin" -M "$BLOBDIR/me.bin" "$extractdir/flashregion_2_intel_me.bin" $IFDTOOL -n "$BLOBDIR/layout.txt" $bioscopy $IFDTOOL -x $bioscopy.new -cp "$extractdir/flashregion_0_flashdescriptor.bin" "$BLOBDIR/ifd.bin" rm "$bioscopy" rm "$bioscopy.new"