summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2020-11-18 13:34:49 +0200
committerJohn Klug <john.klug@multitech.com>2020-11-18 09:29:26 -0600
commitf027698814f697d26723a0c3db0d3473ca297876 (patch)
tree8141666f5c153f832e526b73d0a021181d4ce0f5
parent2fa25adbafce346f9fc1ba76cb00950ea2dbafc6 (diff)
downloadmeta-mlinux-f027698814f697d26723a0c3db0d3473ca297876.tar.gz
meta-mlinux-f027698814f697d26723a0c3db0d3473ca297876.tar.bz2
meta-mlinux-f027698814f697d26723a0c3db0d3473ca297876.zip
mtr7: add user_data ext4 label
-rwxr-xr-xrecipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh b/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
index cb5b862..9402286 100755
--- a/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
+++ b/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
@@ -241,7 +241,7 @@ mount_and_boot() {
log "Detected user_data partition with ${BASH_REMATCH[1]} file system"
else
log "Create new user_data partition ext4 file system"
- mkfs.ext4 -O 64bit $userdata
+ mkfs.ext4 -L user_data -O 64bit $userdata
fi
ROOT_RWDEVICE="$userdata"
fi # Found user_data GPT partition