aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2019-07-02 13:16:08 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-04 13:24:56 +0200
commitebef2c27eb8a2840ae64ff51785a61f9752e59b1 (patch)
treea83017ce34328f9261d62080cc673f0f6f8f4e47 /package/base-files/files/lib
parent1d68badbb3c10da3b70cac6a2768f7b86e49de86 (diff)
downloadupstream-ebef2c27eb8a2840ae64ff51785a61f9752e59b1.tar.gz
upstream-ebef2c27eb8a2840ae64ff51785a61f9752e59b1.tar.bz2
upstream-ebef2c27eb8a2840ae64ff51785a61f9752e59b1.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> (cherry picked from commit f58ca6ee57b77350c69639defdceacb2e77e2249)
Diffstat (limited to 'package/base-files/files/lib')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh10
1 files changed, 0 insertions, 10 deletions
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