aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/base-files/lib/upgrade/platform.sh
Commit message (Collapse)AuthorAgeFilesLines
* treewide: move nand_do_upgrade call to platform_do_upgradeMathias Kresin2018-02-161-5/+1
| | | | | | | | | | Calling nand_do_upgrade() from platform_pre_upgrade() was deprecated with 30f61a34b4cf ("base-files: always use staged sysupgrade"). Update the platform upgrade code to use platform_do_upgrade() for NAND images as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: use only board_name function to get nameMathias Kresin2017-07-151-3/+1
| | | | | | | | | | | | 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>
* base-files: automatically handle paths and symlinks for RAMFS_COPY_BINMatthias Schiffer2017-07-111-1/+1
| | | | | | | | | | | | Depending on busybox applet selection, paths of basic utiilties may differ, and may not work as symlinks to busybox. Simply using whatever binary is found in PATH and detecting symlinks automatically is more robust and easier to maintain. The list of binaries is also slightly cleaned up and duplicates are removed. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* rb532: switch to UBI, drop yaffs2 support, use sysupgrade for NANDFelix Fietkau2017-01-071-0/+26
Signed-off-by: Felix Fietkau <nbd@nbd.name>