Commit Graph

12 Commits (ac3e05c5d757334944fbf1f14583164cd1d69172)

Author SHA1 Message Date
Mathias Kresin ac3e05c5d7 treewide: populate boardname and model earlier
For targets using the generic board detection and board specific
settings in diag.sh, the board name is still unset at the time the
set_state() provided by diag.sh is called by 10_indicate_preinit.

Change the execution order to ensure the boardname is populated before
required the first time. Do the target specific board detection as
early as possible, directly followed by the generic one to allow a
seamless switch to the generic function for populating /tmp/sysinfo/.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
John Crispin c186a48fca octeon: only copy sysupgrade file if present
this caused

'mv: can't rename '/mnt/sysupgrade.tgz': No such file or directory'

when running sysupgrade -n

Signed-off-by: John Crispin <john@phrozen.org>
7 years ago
Felix Fietkau beda11255b octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
Fixes sysupgrade

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48558
9 years ago
John Crispin 1773aa5163 octeon: add er8 sysupgrade support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44902
9 years ago
John Crispin c79ddb3773 octeon: sysupgrade: support config restore on ERL
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43524
10 years ago
John Crispin 1731d5520e octeon: sysupgrade: rename old kernel after mounting /boot
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43523
10 years ago
John Crispin 52f1d8ecdc octeon: sysupgrade: fix test for rootfs device
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43522
10 years ago
John Crispin 6f665ea7b8 octeon: sysupgrade: support config restore
SVN-Revision: 43518
10 years ago
John Crispin 28a9d9853b octeon: sysupgrade: get rootfsdev from kernel cmdline
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43517
10 years ago
John Crispin 13445d2576 octeon: add detection for edgerouter and edgerouter-pro
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41844
10 years ago
John Crispin a8d532abf2 octeon: add sysupgrade support for the erlite
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41286
10 years ago
John Crispin e6e024f155 octeon: add basic board detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41274
10 years ago