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:
Jeffy Chen
2022-08-19 10:58:51 +08:00
parent 95d7295c6e
commit 0e258cdd23

View File

@ -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)"