| Summary: |
Partition numbering is broken for MBR primary partition #4 |
| Product: |
[Build System, Metadata & Runtime] Meta-yocto
|
Reporter: |
michaelcooper81 |
| Component: |
meta-yocto | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium+
|
CC: |
akuster, poky.bs.watcher, poky.watcher, randy.macleod
|
| Version: |
2.7.2 | |
|
| Target Milestone: |
2.8 M4 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
| Attachments: |
|
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.