coreboot_util: Allow a blank serial to be set

Setting 'no serial' should do exactly that

Addresses issue #3Signed-off-by: Matt Devillier's avatarMatt DeVillier <matt.devillier@puri.sm>
parent 49ea716e
......@@ -464,7 +464,7 @@ get_serial () {
echo -n "$serial_number" > ${LOCAL_TEMP_DIR}/serial_number.txt
;;
${NO_SERIAL_OPT} )
rm -f ${LOCAL_TEMP_DIR}/serial_number.txt >/dev/null 2>&1
echo -n "" > ${LOCAL_TEMP_DIR}/serial_number.txt
;;
* )
echo "Invalid option"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment