From 3bb042fc4cf0254ca9630b43a3f604176c540aaf Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 24 Feb 2021 19:02:55 +0100 Subject: 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 --- recipes-core/base-files/base-files/fstab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3