Merge lp://staging/~newell-jensen/maas-images/dtb-files into lp://staging/maas-images
Proposed by
Newell Jensen
Status: | Merged |
---|---|
Merged at revision: | 188 |
Proposed branch: | lp://staging/~newell-jensen/maas-images/dtb-files |
Merge into: | lp://staging/maas-images |
Diff against target: |
336 lines (+107/-38) 5 files modified
bin/kpack-from-image (+44/-17) bin/maas-cloudimg2eph2 (+26/-9) conf/meph-v2.yaml (+3/-0) meph2/commands/cloudimg_sync.py (+23/-6) meph2/netinst.py (+11/-6) |
To merge this branch: | bzr merge lp://staging/~newell-jensen/maas-images/dtb-files |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Needs Fixing | ||
Review via email:
|
Commit message
This branch adds scraping for Device Tree Blob (dtb) files, which are needed by sub-architecture xgene-uboot-
To post a comment you must log in.
ok. so
a.) i put lp:~smoser/maas-images/dtb-files together, please pull from it.
there are some changes there that will need updating per my comment on how to call kpack-from-image (ie, i called it with an argument for dtb rather than a flag).
then, rather than determining if a dtb file is needed based on the presense of substring 'mustang', I'd like that to be declaritive somehow in conf/meph-v2.yaml . I think the way to do this is to have it in the 'data' dict of the kernel line (where 'kihelper' is).
ie:
{suffix: .xgene-mustang, kihelper: kh-xgene, di-format: 'xgene', 'dtb': true}
then copy the knowledge of needed dtb file through to kpack-from-image the way that '--kihelper' is carried through. so that we'd end up invoking
kpack-from-image --kihelper=foo --dtb=
this way future chnages just mean adding the appropriate change to the config file.
thats the suggestions so far, sorry but thats all i have time for right now.