Merge lp:~smoser/maas-images/trunk.fix-powerpc-mining into lp:maas-images
Proposed by
Scott Moser
Status: | Merged |
---|---|
Merged at revision: | 304 |
Proposed branch: | lp:~smoser/maas-images/trunk.fix-powerpc-mining |
Merge into: | lp:maas-images |
Diff against target: |
194 lines (+117/-17) 2 files modified
meph2/netinst.py (+16/-2) tests/unittests/file_item_data.json (+101/-15) |
To merge this branch: | bzr merge lp:~smoser/maas-images/trunk.fix-powerpc-mining |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andres Rodriguez (community) | Approve | ||
Review via email: mp+296705@code.launchpad.net |
Commit message
fix mining of d-i kernels for powerpc architecture
Cloud images are built for powerpc architecture, and in that build process
on xenial and yakkety, the build runs maas-images to scrape available d-i
kernel data.
That process was failing as the directory layout for powerpc was slightly
different than other arch. MAAS does not produce powerpc images, but at this
point, the only thing preventing them would be this code. Might as well fix it so that the failure during build does not have to be ignored.
This fixes those issues and adds the paths and expected data to the
file_item_data.json that represents expected data for possible paths.
To post a comment you must log in.
The failure could be reproduced by running: netboot- mirror --dry-run -vvv --arches=powerpc out.d
./bin/
Now that command will succeed.