aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-14 12:56:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-14 12:56:58 +0000
commit4ea1473546ee47419fa15db333726ecaf81f1a4c (patch)
tree1cad1ca02d6110fdb79abc13fc059fcd6cab48b3 /target/linux/x86/base-files
parent6859bb2428cb0bbd004972c3d62050dcbe35c123 (diff)
downloadupstream-4ea1473546ee47419fa15db333726ecaf81f1a4c.tar.gz
upstream-4ea1473546ee47419fa15db333726ecaf81f1a4c.tar.bz2
upstream-4ea1473546ee47419fa15db333726ecaf81f1a4c.zip
kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37282 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/base-files')
-rw-r--r--target/linux/x86/base-files/lib/upgrade/platform.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh
index dd94db0694..9503d5db88 100644
--- a/target/linux/x86/base-files/lib/upgrade/platform.sh
+++ b/target/linux/x86/base-files/lib/upgrade/platform.sh
@@ -1,5 +1,3 @@
-USE_REFRESH=1
-
x86_get_rootfs() {
local rootfsdev
local rootfstype
@@ -27,10 +25,6 @@ platform_check_image() {
esac
}
-platform_refresh_partitions() {
- return 0
-}
-
platform_copy_config() {
local rootfs="$(x86_get_rootfs)"
local rootfsdev="${rootfs##*:}"