[OE-core] [rocko][PATCH] beaglebone: Find /boot partition on mmcblk0

Peter A. Bigot pab at pabigot.com
Tue Mar 6 14:01:46 UTC 2018


From: Drew Moseley <drew.moseley at northern.tech>

After commit edcf39820f94c84b29c95a0d7b16b8d36857e87b the beaglebone
builds fail to mount the boot partition as it is specified in
/etc/fstab with the device node /dev/mmcblkp1.  With systemd in
particular this is considered an error and the system drops into
emergency mode.

Signed-off-by: Drew Moseley <drew.moseley at northern.tech>
Signed-off-by: Peter A. Bigot <pab at pabigot.com>
---

This was originally submitted by Drew Moseley, but AFAICT it never
made it to patchwork.

See: https://lists.yoctoproject.org/pipermail/poky/2017-October/011129.html

 meta-yocto-bsp/wic/beaglebone.wks | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-yocto-bsp/wic/beaglebone.wks b/meta-yocto-bsp/wic/beaglebone.wks
index 0c09a95..967cad7 100644
--- a/meta-yocto-bsp/wic/beaglebone.wks
+++ b/meta-yocto-bsp/wic/beaglebone.wks
@@ -2,5 +2,5 @@
 # long-description: Creates a partitioned SD card image for Beaglebone.
 # Boot files are located in the first vfat partition.
 
-part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16
+part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16
 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4
-- 
2.7.4




More information about the Openembedded-core mailing list