jim-p
9c61a345ba
Fix numbering
2012-11-20 09:48:14 -05:00
jim-p
bff167fd35
Remove other potential places where someone could select a kernel we no longer ship. Try to improve kernel detection a little more.
2012-11-20 09:45:15 -05:00
PiBa-NL
2ab2d8fbf0
Check update snapshot contents against .sha256 instead of .md5
2012-11-05 23:15:32 +01:00
Chris Buechler
5eeb1d9d27
fix text
2011-07-09 03:23:49 -04:00
jim-p
b043503a01
Teach the console update by url about the default auto update url.
2011-03-09 11:23:29 -05:00
jim-p
873b2f0c81
Fix NanoBSD update detection for console update by URL
2010-05-18 15:22:03 -04:00
Ermal
ce38786608
Ticket #428 . Remove double included include.
2010-03-15 20:03:51 +00:00
Scott Ullrich
45e63af19f
Include config.inc and functions.inc
2009-11-22 12:55:59 -05:00
Scott Ullrich
5f2d078e7d
Decouple filter.inc from functions.inc. There is no need to process filter functions most of the time. Include filter.inc where it is needed
2009-11-21 19:10:37 -05:00
Scott Ullrich
11da95a60f
Correct out of place {
2009-07-10 19:15:28 -04:00
Scott Ullrich
3c043ca0ae
Fix option #2 in firmware upgrade (console) for NanoBSD, bdiff.
2009-07-05 19:44:19 -04:00
Scott Ullrich
7615c95190
Remove newline
2009-07-05 19:32:40 -04:00
Scott Ullrich
dbbc0fc85c
Add newline before DANGER
2009-07-05 19:28:05 -04:00
Scott Ullrich
71ed7da530
Add digital secutiry signature check to console upgrades.
2009-07-05 19:17:20 -04:00
Scott Ullrich
80d5c3f66d
Use tgz
2009-07-05 18:10:15 -04:00
Scott Ullrich
b80c897548
Rename nanobsd firmware .bz2
2009-07-05 15:08:17 -04:00
Renato Botelho
d44d94c5c5
Fix nanobsd update detection
2009-06-30 12:39:58 -03:00
Ermal Lui
a368a026db
* Reorganize the 'apply' button infrustructure in the GUI.
...
- Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals.
- Convert all pages to the new infrustructure
- This improves a lot the control on this notification
2009-06-30 17:15:22 +00:00
Scott Ullrich
1a4075a9c1
Send log file to /conf/
2009-06-29 23:49:37 -04:00
Scott Ullrich
d2fdbd6f51
Unbreak
2009-06-29 20:07:22 -04:00
Scott Ullrich
285b3e3f31
Alert when we detect a nanobsd image.
2009-06-29 16:57:05 -04:00
Scott Ullrich
8fe0e20133
Only unlink file if it exists.
2009-06-28 18:36:03 -04:00
Scott Ullrich
0a45318823
Add support for the NanoBSD platform
2009-06-27 18:41:24 -04:00
Scott Ullrich
9fab639138
Add support for the NanoBSD platform
2009-06-27 18:38:33 -04:00
Scott Ullrich
227811a477
Add support for the NanoBSD platform
2009-06-27 18:30:53 -04:00
Scott Ullrich
030f88e83e
Set firmware lock bit when doing the upgrade
2009-05-04 22:50:55 -04:00
Scott Ullrich
9875b318a7
Exit after firmware update
2009-04-30 13:55:37 -04:00
Scott Ullrich
dfd6af96ce
Add . for every second firmware update is running
2009-04-16 23:11:46 -04:00
Scott Ullrich
05b98df0d7
Make $g a global
2009-04-16 22:59:50 -04:00
Scott Ullrich
b30f4ba178
Sleep for 10 before checking to see if firmware.lock exists
2009-04-16 22:56:22 -04:00
Scott Ullrich
6e75ac00d9
Correct ordering, use a lock file. Launch upgrade in bg and look for lock file to guess if upgrade is in progress
2009-04-16 22:21:31 -04:00
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