From 74bf11570f80dd3a1f95c126d7bd526ee6d5b964 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 11 Aug 2024 18:14:12 +0100 Subject: [PATCH] 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 --- package/base-files/files/lib/upgrade/common.sh | 1 - 1 file changed, 1 deletion(-) 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] | \ -- 2.30.2