summaryrefslogtreecommitdiff
path: root/recipes-core/base-files/base-files/fstab
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-02-24 19:02:55 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2021-03-03 13:26:35 +0000
commit3bb042fc4cf0254ca9630b43a3f604176c540aaf (patch)
tree017fbedddbe292ae2d6a054d18b965cbe0a816a2 /recipes-core/base-files/base-files/fstab
parent9c5431a22bb2e7b31280642ba866e9aec6a52b75 (diff)
fstab: mount the partition with the boot files at /boot
Mount the partition /dev/boot-part on /boot. This requires the help of udev/scripts/mount.sh. The script checks the /proc/cmdline for the rootfs partition. If this is the second partition of a block device and a first partition exists it creates the symlink /dev/boot-part. This reverts the previous mounting scheme which unconditionally mounted the first eMMC partition at /boot, independent of the eMMC being the actual device one booted from. commit 38705bd ("fstab: configure the emmc's first partition to mount at /boot") Related-to: ELB-3323 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-core/base-files/base-files/fstab')
-rw-r--r--recipes-core/base-files/base-files/fstab2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/base-files/base-files/fstab b/recipes-core/base-files/base-files/fstab
index a906e1f..6ccd038 100644
--- a/recipes-core/base-files/base-files/fstab
+++ b/recipes-core/base-files/base-files/fstab
@@ -1,7 +1,7 @@
# stock fstab - you probably want to override this with a machine specific one
/dev/root / auto noatime 1 1
-/dev/emmc-part1 /boot auto noatime,noauto 0 0
+/dev/boot-part /boot auto noatime,noauto 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,ptmxmode=0666,gid=5 0 0
tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0