aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@linaro.org>2019-10-23 15:51:53 +0200
committerNiklas Cassel <niklas.cassel@linaro.org>2019-10-23 16:05:28 +0200
commitb87133306a97ede4f78a8c12228ffb5f35613f98 (patch)
treee2b3280f5aeb6f3de85ebc63e72b3285ee08a688
parentaf94f03ab3a647c26285f9679f4a5eddc132388d (diff)
scripts: QCOM: use PARTLABEL in fstab
Use PARTLABEL rather than /dev/disk/by-partlabel/ in fstab. Since we now specify root=PARTLABEL on the kernel command line, use PARTLABEL also in fstab, in order to be consistent. man fstab in debian buster shows that PARTLABEL is supported. Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org> Change-Id: I5a91f3042268f5c8acdf28dd5d4438eebd02f965
-rwxr-xr-xscripts/QCOM/21-customize2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/QCOM/21-customize b/scripts/QCOM/21-customize
index 5d9fe3f..c759ccd 100755
--- a/scripts/QCOM/21-customize
+++ b/scripts/QCOM/21-customize
@@ -2,7 +2,7 @@
set -e
cat << EOF > $target/etc/fstab
-/dev/disk/by-partlabel/${ROOTFS_PARTLABEL} / ext4 rw,relatime,data=ordered 0 1
+PARTLABEL=${ROOTFS_PARTLABEL} / ext4 rw,relatime,data=ordered 0 1
EOF
if ifclass INSTALLER; then