summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2024-08-11 17:14:12 +0000
committerDaniel Golle2024-08-12 18:16:58 +0000
commit74bf11570f80dd3a1f95c126d7bd526ee6d5b964 (patch)
treeda47e12fc0b11625320fea4924c3adcbc847bb46
parent11403697c9d36cc014cc408b6d0f14e5a74a17f9 (diff)
downloadopenwrt-74bf11570f80dd3a1f95c126d7bd526ee6d5b964.tar.gz
base-files: get rid of forgotten traces of fitblk_get_bootdev
The function fitblk_get_bootdev doesn't exist any more, using it in export_bootdevice anyway never made much sense and only worked for classic block devices. Just drop /dev/fit* handling there, it isn't needed anywhere. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--package/base-files/files/lib/upgrade/common.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index 718907a711..af1182cb16 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -196,7 +196,6 @@ export_bootdevice() {
done
;;
/dev/*)
- [ "$rootpart" = "/dev/fit0" ] && rootpart="$(fitblk_get_bootdev)"
uevent="/sys/class/block/${rootpart##*/}/../uevent"
;;
0x[a-f0-9][a-f0-9][a-f0-9] | 0x[a-f0-9][a-f0-9][a-f0-9][a-f0-9] | \