Merge lp://staging/~emanuele-aina/linaro-image-tools/grub-load-rootfs-by-uuid into lp://staging/linaro-image-tools/11.11
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~emanuele-aina/linaro-image-tools/grub-load-rootfs-by-uuid |
Merge into: | lp://staging/linaro-image-tools/11.11 |
Diff against target: |
171 lines (+20/-19) 2 files modified
linaro_image_tools/media_create/boards.py (+18/-18) linaro_image_tools/media_create/tests/test_media_create.py (+2/-1) |
To merge this branch: | bzr merge lp://staging/~emanuele-aina/linaro-image-tools/grub-load-rootfs-by-uuid |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Milo Casagrande (community) | Needs Fixing | ||
Review via email: mp+113585@code.staging.launchpad.net |
Description of the change
Currently the I386Config board definition sets the `root=LABEL=rootfs' parameter for the kernel to be booted and, given that populate_rootfs() uses the UUID to populate /etc/fstab, this can lead to some inconsistencies.
This branch updates the _make_boot_
Argument passing between the bootfs/rootfs stages is a bit flaky, given the need to update so many call sites. Coalescing all the function parameters in a BuildConfig object would reduce the patch to three lines and make future modifications easier.
Unmerged revisions
- 534. By Emanuele Aina
-
Point the i386 kernel to its rootfs by UUID
Hi Emanuele,
thanks for working on this!
I was looking at the patch, and unfortunately there is a small conflict when I merge it with trunk. Conflict is rather trivia to fix, but the are at least 13 tests failing now.
Can you please update the patch and take a look at the errors?
Thanks.