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>
btrfsvols
Leah Rowe 2023-08-28 11:28:41 +01:00
parent d9292cec6a
commit f5787c9e50
1 changed files with 2 additions and 2 deletions

View File

@ -601,7 +601,7 @@ moverom() {
[ -f "${ifdgbe}" ] || \
./build descriptors ich9m || \
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 || \
err "moverom: cant insert ich9m ifd"
fi
@ -611,7 +611,7 @@ moverom() {
[ -f "${ifdgbe}" ] || \
./build descriptors ich9m || \
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 || \
err "moverom: cant insert ich9m ifd"
fi