Commit Graph

13 Commits (b2660e67f0fb9f3398b871ad1fef5725e1b5d7d2)

Author SHA1 Message Date
Rafał Miłecki a717428828 treewide: use new procd sysupgrade $UPGRADE_BACKUP variable
It's a variable set by procd that should replace hardcoded
/tmp/sysupgrade.tgz.

This change requires the most recent procd with the commit 0f3c136
("sysupgrade: set UPGRADE_BACKUP env variable").

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 641f6b6c26)
5 years ago
Rafał Miłecki 1b9a4f0cb4 treewide: when copying a backup file always specify dest name
$CONF_TAR shouldn't be assumed to always point to the sysupgrade.tgz.
This change makes code more generic and allows refactoring $CONF_TAR.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 62dbe361a1)
5 years ago
Hans Dedecker 4bd9d331e5 octeon: fix typo in platform.sh
Fix upgrade typo

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
6 years ago
Jonathan Thibault e93e2b6318 octeon: Evaluate board names in alphabetical order
Signed-off-by: Jonathan Thibault <jonathan@navigue.com>
6 years ago
Mathias Kresin e4e984f2a0 treewide: use only board_name function to get name
Do not parse /tmp/sysinfo/board_name, /proc/cpuinfo or the device tree
compatible string directly. Always use the board_name function to get
the board name.

The admswconfig package still reads /proc/cpuinfo directly. The code
looks somehow broken and the whole adm5120 which uses this package
looks unmaintained. Leave it as it is for now.

Signed-off-by: Mathias Kresin <dev@kresin.me>
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 a8d532abf2 octeon: add sysupgrade support for the erlite
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41286
10 years ago