2018-05-06 08:20:11 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2011 OpenWrt.org
|
|
|
|
#
|
|
|
|
|
|
|
|
PART_NAME=firmware
|
2018-05-07 20:41:04 +00:00
|
|
|
REQUIRE_IMAGE_METADATA=1
|
2018-05-06 08:20:11 +00:00
|
|
|
|
|
|
|
platform_check_image() {
|
2018-05-07 20:41:04 +00:00
|
|
|
return 0
|
2018-05-06 08:20:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
platform_do_upgrade() {
|
|
|
|
local board=$(board_name)
|
|
|
|
|
|
|
|
case "$board" in
|
2018-08-06 16:59:23 +00:00
|
|
|
buffalo,bhr-4grv2)
|
|
|
|
PART_NAME="rootfs:kernel"
|
|
|
|
default_do_upgrade "$ARGV"
|
|
|
|
;;
|
2018-05-06 08:20:11 +00:00
|
|
|
*)
|
|
|
|
default_do_upgrade "$ARGV"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|