projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1140369
)
base-files: get rid of forgotten traces of fitblk_get_bootdev
author
Daniel Golle
<
[email protected]
>
Sun, 11 Aug 2024 17:14:12 +0000
(18:14 +0100)
committer
Daniel Golle
<
[email protected]
>
Mon, 12 Aug 2024 18:16:58 +0000
(19:16 +0100)
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]
>
package/base-files/files/lib/upgrade/common.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/upgrade/common.sh
b/package/base-files/files/lib/upgrade/common.sh
index 718907a7111791a31406b53cc6584d9b315a1d51..af1182cb16a383afb978138434f80ceac57f41d9 100644
(file)
--- 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] | \