1 RAMFS_COPY_BIN
='fw_printenv fw_setenv strings'
2 RAMFS_COPY_DATA
='/etc/fw_env.config /var/lock/fw_printenv.lock'
5 REQUIRE_IMAGE_METADATA
=1
7 platform_check_image
() {
8 local board
="$(board_name)"
11 netgear
,readynas-duo-v2
)
12 # let's store how rootfs is mounted
13 cp /proc
/mounts
/tmp
/mounts
22 platform_do_upgrade
() {
23 local board
="$(board_name)"
27 part
=$
(find_mtd_part
"active_bank")
29 if [ -n "$part" ]; then
30 CI_KERNPART
="$(strings $part | grep bank)"
33 echo "active_bank partition missed!"
38 default_do_upgrade
"$1"
43 platform_do_upgrade_linksys
"$1"