Commit Graph

23 Commits

Author SHA1 Message Date
Scott Ullrich
5b6eac0142 Use product_name 2008-11-10 04:17:48 +00:00
Scott Ullrich
b3191bd2fc Do not assume that we ship uniprocessor kernel on LiveCD any longer. 2008-06-17 01:07:31 +00:00
Scott Ullrich
e1aea2cda0 When bdiff is detected in the filename, invoke the binary update
routines.
2008-02-17 00:03:27 +00:00
Scott Ullrich
f502151d14 Make sure $d_fwupenabled_path is defined since it is initially defined
in guiconfig.inc.   At some point in the future these variables should
be moved to globals.inc.
2008-01-12 22:43:34 +00:00
Scott Ullrich
9daeb96485 Automatically assume the embedded platform on update if the platform
is set to embedded or wrap.  We do not include any kernels outside
of embedded anyways for this paticular platform.
2008-01-11 18:00:29 +00:00
Scott Ullrich
60b7af167d * Do not allow the image to go read only during download / upgrade ops
* If a previous /root/firmware.tgz file exists before download, unlink
  the file to avoid a out of space error if the prior download operation
  happens to fail (or if / becomes rw again)
2008-01-11 17:53:08 +00:00
Scott Ullrich
7afeb359ea Remove any previous MD5 sums after upgrade. 2007-11-07 23:11:45 +00:00
Scott Ullrich
6ec9680988 Exit immediately after firmware update operation completes. 2007-08-28 18:31:45 +00:00
Scott Ullrich
c79e6edf6b Add carriage return 2007-08-28 18:28:22 +00:00
Scott Ullrich
00392a1370 Make $fp global 2007-08-28 18:19:22 +00:00
Scott Ullrich
1939b5cee7 Do not close STDIN until script is done processing. 2007-08-28 18:18:22 +00:00
Scott Ullrich
92d8801f46 Prompt for kernel type if it is not defined.
Ticket #1435
2007-08-28 18:16:10 +00:00
Scott Ullrich
3121018425 Close STDIN ($fp) handle before returning back to shell. Major doh's. 2007-06-02 22:05:30 +00:00
Scott Ullrich
8e57ecdf7c Mount image read write before upgrading. 2007-05-11 03:24:05 +00:00
Scott Ullrich
8d93d52a8a Mount read/write before fetching url. 2007-05-10 00:54:14 +00:00
Scott Ullrich
23a442986d Use unlink_if_exists() 2007-05-09 05:39:21 +00:00
Scott Ullrich
69c4d460a7 Unlink upgrade file on upgrade. 2007-05-09 05:35:07 +00:00
Scott Ullrich
1d2cc9065a Use /root/ as temporary storage. 2007-05-09 04:41:18 +00:00
Scott Ullrich
e1f1691f3f Fetch the filesize initially and compare it. In addition we compare MD5 to be absolutely sure. 2007-05-02 00:25:02 +00:00
Scott Ullrich
4cc6345ed7 * Do not close a buffer that has failed * Automatically retry failed connection 2007-05-02 00:08:18 +00:00
Scott Ullrich
9b5d2d24a3 Exit if URL or PATH is blank. 2007-05-01 22:26:14 +00:00
Scott Ullrich
1d2ac3a5e3 Add md5 support if the site is storing the value. 2007-05-01 22:17:23 +00:00
Scott Ullrich
f4feb493f2 Add firmware update menu option which can fetch a URL from the internet or use a already fetched file from the file system. 2007-05-01 21:56:56 +00:00