mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-24 23:53:02 +00:00
base-files: drop support for the platform_nand_pre_upgrade()
No target uses it anymore. All code from that callback was moved into the platform_do_upgrade(). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
parent
1cbe0d659c
commit
790692dde2
@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk
|
|||||||
include $(INCLUDE_DIR)/feeds.mk
|
include $(INCLUDE_DIR)/feeds.mk
|
||||||
|
|
||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=204
|
PKG_RELEASE:=205
|
||||||
PKG_FLAGS:=nonshared
|
PKG_FLAGS:=nonshared
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
|
@ -282,10 +282,6 @@ nand_upgrade_tar() {
|
|||||||
nand_do_upgrade() {
|
nand_do_upgrade() {
|
||||||
local file_type=$(identify $1)
|
local file_type=$(identify $1)
|
||||||
|
|
||||||
if type 'platform_nand_pre_upgrade' >/dev/null 2>/dev/null; then
|
|
||||||
platform_nand_pre_upgrade "$1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
[ ! "$(find_mtd_index "$CI_UBIPART")" ] && CI_UBIPART="rootfs"
|
[ ! "$(find_mtd_index "$CI_UBIPART")" ] && CI_UBIPART="rootfs"
|
||||||
|
|
||||||
case "$file_type" in
|
case "$file_type" in
|
||||||
|
Loading…
Reference in New Issue
Block a user