git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3aa128f
)
autopart: use '-' to separate drive serial in volume name
author
Daniel Golle
<redacted>
Fri, 9 Apr 2021 16:33:21 +0000
(17:33 +0100)
committer
Daniel Golle
<redacted>
Fri, 9 Apr 2021 16:33:21 +0000
(17:33 +0100)
Instead of just appending the driver serial including the '0x' prefix,
use '-' prefix instead to make it more readable.
Signed-off-by: Daniel Golle <redacted>
utils/autopart/files/autopart
patch
|
blob
|
history
diff --git
a/utils/autopart/files/autopart
b/utils/autopart/files/autopart
index 6d946c6995752a78ba05248fddd2e5e449f5e2d7..c35b238adc5d25f657e27c9d0a66ecdccbe7ba4c 100644
(file)
--- a/
utils/autopart/files/autopart
+++ b/
utils/autopart/files/autopart
@@
-70,7
+70,7
@@
autopart_init() {
lvmpart=$(get_partition_by_name $diskdev $OWRT_VOLUMES)
[ "$lvmpart" ] || return
- lvm_init /dev/$lvmpart "${OWRT_VOLUMES}${diskserial}"
+ lvm_init /dev/$lvmpart "${OWRT_VOLUMES}${diskserial
:+-${diskserial:2}
}"
}
autopart_init
git clone https://git.99rst.org/PROJECT