From 0e258cdd23ca5fabc6b86ba92c1b57c3b90c0c3f Mon Sep 17 00:00:00 2001 From: Jeffy Chen Date: Fri, 19 Aug 2022 10:58:51 +0800 Subject: [PATCH] post-build.sh: Use LABEL= in /etc/fstab Busybox could not handle "PARTLABEL=". Change-Id: Ie6d51e4d3bfbd9c35e0293ddb42827c0f0351d64 Signed-off-by: Jeffy Chen --- common/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/post-build.sh b/common/post-build.sh index c13da20..6f8d453 100755 --- a/common/post-build.sh +++ b/common/post-build.sh @@ -53,7 +53,7 @@ function fixup_part() # Dev is either or /dev/.../ [ "$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)"