mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
tegra-helper-scripts: don't require --serial-number with --external-device
to allow for programming a locally-attached drive that will then be plugged into the target. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
@@ -725,11 +725,7 @@ if [ $no_flash -ne 0 ]; then
|
||||
else
|
||||
eval $flashcmd < /dev/null || exit 1
|
||||
if [ -n "$sdcard" -o $external_device -eq 1 ]; then
|
||||
if [ $external_device -eq 1 ]; then
|
||||
if [ -z "$serial_number" ]; then
|
||||
echo "ERR: missing serial number for initrd-flashing external device" >&2
|
||||
exit 1
|
||||
fi
|
||||
if [ $external_device -eq 1 -a -n "$serial_number" ]; then
|
||||
make_sdcard_args="$make_sdcard_args --serial-number $serial_number"
|
||||
fi
|
||||
if [ -n "$pre_sdcard_sed" ]; then
|
||||
|
||||
Reference in New Issue
Block a user