Created attachment 4572 [details] Proposed patch When wks describes extra partitions that aren't in the partition table (e.g. boot loader) and describes four proper MBR partitions, the last partition gets added to fstab as partition #5 instead of #4. Repro wks: part bootloader --no-table part /boot --ondisk mmcblk0 --label boot part / --ondisk mmcblk0 --label root1 part / --ondisk mmcblk0 --label root2 part /data --ondisk mmcblk0 --label data bootloader --ptable msdos Generated fstab: /dev/mmcblk0p1 /boot ext4 defaults 0 0 /dev/mmcblk0p5 /data (/dev/mmcblk0p5 should be /dev/mmcblk0p4) Proposed patch attached.
Is there a test that we can add to ensure that this doesn't happen in the future? Are you able to send a patch to the email list? https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded#Sending_using_git-send-email
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/scripts?id=7a1d68d136c9746242d2243c7e9959758437a3fa
made it into zeus
Fixed with the above commit.
Mark as resolved