mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-25 07:46:17 +02:00
build/boot/roms ich9m ifd: use fast dd command
bs=block size and count=1, rather than bs=1 and count=block size Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -601,7 +601,7 @@ moverom() {
|
|||||||
[ -f "${ifdgbe}" ] || \
|
[ -f "${ifdgbe}" ] || \
|
||||||
./build descriptors ich9m || \
|
./build descriptors ich9m || \
|
||||||
err "moverom: cannot create ich9m ifd"
|
err "moverom: cannot create ich9m ifd"
|
||||||
dd if="${ifdgbe}" of="${newrompath}" bs=1 count=12k \
|
dd if="${ifdgbe}" of="${newrompath}" bs=12k count=1 \
|
||||||
conv=notrunc || \
|
conv=notrunc || \
|
||||||
err "moverom: cant insert ich9m ifd"
|
err "moverom: cant insert ich9m ifd"
|
||||||
fi
|
fi
|
||||||
@@ -611,7 +611,7 @@ moverom() {
|
|||||||
[ -f "${ifdgbe}" ] || \
|
[ -f "${ifdgbe}" ] || \
|
||||||
./build descriptors ich9m || \
|
./build descriptors ich9m || \
|
||||||
err "moverom: cannot create ich9m ifd"
|
err "moverom: cannot create ich9m ifd"
|
||||||
dd if="${ifdgbe}" of="${newrompath}" bs=1 count=4k \
|
dd if="${ifdgbe}" of="${newrompath}" bs=4k count=1 \
|
||||||
conv=notrunc || \
|
conv=notrunc || \
|
||||||
err "moverom: cant insert ich9m ifd"
|
err "moverom: cant insert ich9m ifd"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user