diff options
author | Michał Kępień <openwrt@kempniu.pl> | 2023-03-31 12:40:31 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-04-18 13:53:00 +0200 |
commit | 3d110053f80be9d118cdc499e25076c202f79945 (patch) | |
tree | 194620c7e615406bee6565cc293a57272055590a | |
parent | e722b667c5a59bbd5aff787002f7f5457d0bf721 (diff) | |
download | upstream-3d110053f80be9d118cdc499e25076c202f79945.tar.gz upstream-3d110053f80be9d118cdc499e25076c202f79945.tar.bz2 upstream-3d110053f80be9d118cdc499e25076c202f79945.zip |
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 commit
a66eee6336 ("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 commit
a66eee6336 originally lived. However, these lines were added to
target/linux/ath79/nand/base-files/lib/upgrade/platform.sh by commit
55e6c903ae ("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>
-rw-r--r-- | target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh b/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh index 6962c6fdcc..3ffe01cb23 100644 --- a/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh +++ b/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh @@ -7,8 +7,7 @@ platform_check_image() { return 0 } -RAMFS_COPY_BIN='fw_printenv fw_setenv nandwrite' -RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock' +RAMFS_COPY_BIN='nandwrite' platform_do_upgrade_mikrotik_nand() { CI_KERNPART=none |