Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/em100/+/47728 )
Change subject: Update VERSION file last ......................................................................
Update VERSION file last
This way, if the update goes wrong, another invocation of em100 -U will fix the situation.
Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org Change-Id: I947b6d287cb3fc7fd15dd3001656a8883a7e9d2d --- M curl.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/28/47728/1
diff --git a/curl.c b/curl.c index e6ee8bb..5fad845 100644 --- a/curl.c +++ b/curl.c @@ -183,9 +183,9 @@ printf("Downloading latest version: %s\n", new_version); else printf("Update available: %s (installed: %s)\n", new_version, old_version); - download(version_name, version_id); download(configs_name, configs_id); download(firmware_name, firmware_id); + download(version_name, version_id);
return 0; }
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/em100/+/47728 )
Change subject: Update VERSION file last ......................................................................
Patch Set 1: Code-Review+2
Stefan Reinauer has submitted this change. ( https://review.coreboot.org/c/em100/+/47728 )
Change subject: Update VERSION file last ......................................................................
Update VERSION file last
This way, if the update goes wrong, another invocation of em100 -U will fix the situation.
Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org Change-Id: I947b6d287cb3fc7fd15dd3001656a8883a7e9d2d Reviewed-on: https://review.coreboot.org/c/em100/+/47728 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Patrick Georgi pgeorgi@google.com --- M curl.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/curl.c b/curl.c index e6ee8bb..5fad845 100644 --- a/curl.c +++ b/curl.c @@ -183,9 +183,9 @@ printf("Downloading latest version: %s\n", new_version); else printf("Update available: %s (installed: %s)\n", new_version, old_version); - download(version_name, version_id); download(configs_name, configs_id); download(firmware_name, firmware_id); + download(version_name, version_id);
return 0; }