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>
This commit is contained in:
parent
11403697c9
commit
74bf11570f
|
@ -196,7 +196,6 @@ export_bootdevice() {
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
/dev/*)
|
/dev/*)
|
||||||
[ "$rootpart" = "/dev/fit0" ] && rootpart="$(fitblk_get_bootdev)"
|
|
||||||
uevent="/sys/class/block/${rootpart##*/}/../uevent"
|
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] | \
|
0x[a-f0-9][a-f0-9][a-f0-9] | 0x[a-f0-9][a-f0-9][a-f0-9][a-f0-9] | \
|
||||||
|
|
Loading…
Reference in New Issue