Merge lp:~mabac/linaro-image-tools/bug-872007-rootfsdir into lp:linaro-image-tools/11.11
Proposed by
Mattias Backman
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 447 | ||||
Proposed branch: | lp:~mabac/linaro-image-tools/bug-872007-rootfsdir | ||||
Merge into: | lp:linaro-image-tools/11.11 | ||||
Diff against target: |
112 lines (+39/-3) 4 files modified
linaro-media-create (+6/-1) linaro_image_tools/tests/test_pyflakes.py (+2/-2) linaro_image_tools/tests/test_utils.py (+21/-0) linaro_image_tools/utils.py (+10/-0) |
||||
To merge this branch: | bzr merge lp:~mabac/linaro-image-tools/bug-872007-rootfsdir | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tom Gall (community) | Approve | ||
James Westby (community) | Approve | ||
Review via email: mp+79092@code.launchpad.net |
Description of the change
Hi,
This branch changes linaro-media-create to look for binary/etc in the binary image and set ROOTFS_DIR based on the existance of that path.
The purpose is to support the next Live build format where the root file system is contained in binary/
Thanks,
Mattias
To post a comment you must log in.
17 + if not path_in_ tarfile_ exists( 'binary/ etc', args.binary): boot/filesystem .dir'
18 + # The binary image is in the new live format.
19 + filesystem_dir = 'binary/
I think it's generally better to test for the new location and fallback
to the old, but either way works, so it's your preference.
Thanks,
James