Skip to content

Commit

Permalink
dasharo-deploy: fix flashrom_extra_args
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Pijanowski <[email protected]>
  • Loading branch information
macpijan committed Jun 27, 2024
1 parent 6aedc1c commit 0d27962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meta-dts-distro/recipes-dts/dts/dasharo-deploy/dasharo-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,9 @@ install() {
# globally for specific platform and variant
local _flashrom_extra_args=""
if [ "${BIOS_LINK}" = "${BIOS_LINK_DES_SEABIOS}" ]; then
_flashrom_extra_args = "--fmap -i COREBOOT"
_flashrom_extra_args="--fmap -i COREBOOT"
fi
$FLASHROM -p "$PROGRAMMER_BIOS" ${FLASH_CHIP_SELECT} ${FLASHROM_ADD_OPT_REGIONS} -w "$BIOS_UPDATE_FILE" "${_flashrom_extra_args}" >> $FLASHROM_LOG_FILE 2>> $ERR_LOG_FILE
$FLASHROM -p "$PROGRAMMER_BIOS" ${FLASH_CHIP_SELECT} ${FLASHROM_ADD_OPT_REGIONS} -w "$BIOS_UPDATE_FILE" ${_flashrom_extra_args} >> $FLASHROM_LOG_FILE 2>> $ERR_LOG_FILE
error_check "Failed to install Dasharo firmware"

print_green "Successfully installed Dasharo firmware"
Expand Down

0 comments on commit 0d27962

Please sign in to comment.