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
commitb95bdc8ab56e6aa53ed62d8766610f5975f05acd (patch)
tree35e501ae6a2add0fb22f7bbc4bc7b400a57ea7d8 /target/linux/x86/base-files
parente800436de35501dca50f1f086594197a55596c16 (diff)
downloadupstream-b95bdc8ab56e6aa53ed62d8766610f5975f05acd.tar.gz
upstream-b95bdc8ab56e6aa53ed62d8766610f5975f05acd.tar.bz2
upstream-b95bdc8ab56e6aa53ed62d8766610f5975f05acd.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> SVN-Revision: 37282
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##*:}"