diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-07-02 13:16:08 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-07-08 07:38:06 +0200 |
commit | f58ca6ee57b77350c69639defdceacb2e77e2249 (patch) | |
tree | 64121548e076428b7118a61edde29aa28758998b /package/base-files | |
parent | 8ef6240fa61e65eb7b4386e3ea683b04e1dbf00f (diff) | |
download | upstream-f58ca6ee57b77350c69639defdceacb2e77e2249.tar.gz upstream-f58ca6ee57b77350c69639defdceacb2e77e2249.tar.bz2 upstream-f58ca6ee57b77350c69639defdceacb2e77e2249.zip |
base-files: drop unused jffs2_copy_config()
Its last usage was dropped back in 2013 in the commit b95bdc8ab56e
("kernel/base-files: clean up old code related to refreshing mtd
partitions, it is no longer used anywhere").
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index e2794f9ced..551ef71be5 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk include $(INCLUDE_DIR)/feeds.mk PKG_NAME:=base-files -PKG_RELEASE:=201 +PKG_RELEASE:=202 PKG_FLAGS:=nonshared PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index bbedeefd26..0f6fab97f8 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -207,16 +207,6 @@ get_partitions() { # <device> <filename> fi } -jffs2_copy_config() { - if grep rootfs_data /proc/mtd >/dev/null; then - # squashfs+jffs2 - mtd -e rootfs_data jffs2write "$CONF_TAR" rootfs_data - else - # jffs2 - mtd jffs2write "$CONF_TAR" rootfs - fi -} - indicate_upgrade() { . /etc/diag.sh set_state upgrade |