diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-10-17 11:15:32 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-10-17 16:43:17 +0200 |
commit | 4a0688ed71532a3dd68907f5603177d970e4ec03 (patch) | |
tree | e8d75e9901fb0803dd728fc8264a7bc57b6711cd | |
parent | 93f98b283553af9f354b396bc8bb91ca791cc566 (diff) | |
download | upstream-4a0688ed71532a3dd68907f5603177d970e4ec03.tar.gz upstream-4a0688ed71532a3dd68907f5603177d970e4ec03.tar.bz2 upstream-4a0688ed71532a3dd68907f5603177d970e4ec03.zip |
base-files: remove block2mtd checks from sysupgrade
This hasn't been used in a long time
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 4 | ||||
-rwxr-xr-x | target/linux/octeon/base-files/lib/upgrade/platform.sh | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index c375b70742..2eb26ba44b 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -126,10 +126,6 @@ export_bootdevice() { if read cmdline < /proc/cmdline; then case "$cmdline" in - *block2mtd=*) - bootdisk="${cmdline##*block2mtd=}" - bootdisk="${bootdisk%%,*}" - ;; *root=*) rootpart="${cmdline##*root=}" rootpart="${rootpart%% *}" diff --git a/target/linux/octeon/base-files/lib/upgrade/platform.sh b/target/linux/octeon/base-files/lib/upgrade/platform.sh index d938950906..33a9931263 100755 --- a/target/linux/octeon/base-files/lib/upgrade/platform.sh +++ b/target/linux/octeon/base-files/lib/upgrade/platform.sh @@ -7,10 +7,6 @@ platform_get_rootfs() { if read cmdline < /proc/cmdline; then case "$cmdline" in - *block2mtd=*) - rootfsdev="${cmdline##*block2mtd=}" - rootfsdev="${rootfsdev%%,*}" - ;; *root=*) rootfsdev="${cmdline##*root=}" rootfsdev="${rootfsdev%% *}" |