Browse Source

x230: add flashrom options similar to what Heads does

Fixes #142
pull/151/head
Martin Kepplinger 4 years ago
parent
commit
106d9ff19a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      x230/x230_heads.sh
  2. +1
    -1
      x230/x230_skulls.sh

+ 1
- 1
x230/x230_heads.sh View File

@ -133,7 +133,7 @@ while true; do
case $yn in
[Yy]* )
if [ ! "$extended_mode" -gt 0 ] ; then
cd ${OUTPUT_PATH} && ${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image bios -w "${OUTPUT_IMAGE_NAME}"
cd ${OUTPUT_PATH} && ${FLASHROM} --force --noverify-all -p internal --layout ${LAYOUT_FILENAME} --image bios -w "${OUTPUT_IMAGE_NAME}"
else
cd ${OUTPUT_PATH} && ${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image ifd -w "${OUTPUT_IMAGE_NAME}"
${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image me -w "${OUTPUT_IMAGE_NAME}"


+ 1
- 1
x230/x230_skulls.sh View File

@ -206,7 +206,7 @@ check_battery
while true; do
read -r -p "Flash the BIOS now? y/N: " yn
case $yn in
[Yy]* ) cd ${OUTPUT_PATH} && ${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image bios -w "${OUTPUT_IMAGE_NAME}"; break;;
[Yy]* ) cd ${OUTPUT_PATH} && ${FLASHROM} --force --noverify-all -p internal --layout ${LAYOUT_FILENAME} --image bios -w "${OUTPUT_IMAGE_NAME}"; break;;
[Nn]* ) exit;;
* ) exit;;
esac


Loading…
Cancel
Save