post-build.sh: Use LABEL= in /etc/fstab
Busybox could not handle "PARTLABEL=". Change-Id: Ie6d51e4d3bfbd9c35e0293ddb42827c0f0351d64 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@ -53,7 +53,7 @@ function fixup_part()
|
||||
|
||||
# Dev is either <name> or /dev/.../<name>
|
||||
[ "$DEV" ] || return 0
|
||||
echo $DEV | grep -qE "^/" || DEV="PARTLABEL=$DEV"
|
||||
echo $DEV | grep -qE "^/" || DEV="LABEL=$DEV"
|
||||
|
||||
MOUNT="$(partition_arg "$*" 2 "/${DEV##*[/=]}")"
|
||||
FS_TYPE="$(partition_arg "$*" 3 ext2)"
|
||||
|
||||
Reference in New Issue
Block a user