Pārlūkot izejas kodu

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 <[email protected]>
Daniel Golle 1 gadu atpakaļ
vecāks
revīzija
74bf11570f
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      package/base-files/files/lib/upgrade/common.sh

+ 0 - 1
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] | \