ath79: mikrotik: drop unused files from ramdisk
The ramdisk used by sysupgrade on MikroTik devices currently includes U-Boot fw_* files that are not necessary for performing a system upgrade on that platform. The relevant lines were added to target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh by commita66eee6336
("ath79: add mikrotik subtarget"), likely because they also existed in target/linux/ath79/nand/base-files/lib/upgrade/platform.sh, where the platform_do_upgrade_mikrotik_nand() function moved by commita66eee6336
originally lived. However, these lines were added to target/linux/ath79/nand/base-files/lib/upgrade/platform.sh by commit55e6c903ae
("ath79: GL-AR300M: provide NAND support; increase to 4 MB kernel"), which is not related to MikroTik devices in any way. Remove the code adding unused U-Boot fw_* files to the ramdisk used by sysupgrade on MikroTik devices. Signed-off-by: Michał Kępień <openwrt@kempniu.pl>
This commit is contained in:
parent
e722b667c5
commit
3d110053f8
1 changed files with 1 additions and 2 deletions
|
@ -7,8 +7,7 @@ platform_check_image() {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
RAMFS_COPY_BIN='fw_printenv fw_setenv nandwrite'
|
RAMFS_COPY_BIN='nandwrite'
|
||||||
RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock'
|
|
||||||
|
|
||||||
platform_do_upgrade_mikrotik_nand() {
|
platform_do_upgrade_mikrotik_nand() {
|
||||||
CI_KERNPART=none
|
CI_KERNPART=none
|
||||||
|
|
Loading…
Reference in a new issue