diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2021-02-24 19:02:55 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-03-23 17:25:48 +0100 |
commit | b37d43bedfab147cf390ebcfbff8ff6d53550c59 (patch) | |
tree | 3c1b86989657ff2c5fbd713060d2b2d59df4a434 | |
parent | 72359621824b1695b70de3de450cfe5f876f16fc (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>
(cherry picked from commit 3bb042fc4cf0254ca9630b43a3f604176c540aaf)
-rw-r--r-- | recipes-core/base-files/base-files/fstab | 2 |
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 |