Merge lp://staging/~ltrager/maas-images/kernels into lp://staging/maas-images
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp://staging/~ltrager/maas-images/kernels | ||||
Merge into: | lp://staging/maas-images | ||||
Diff against target: |
1012 lines (+644/-125) 6 files modified
conf/bootloaders.yaml (+11/-7) conf/meph-v3.yaml (+408/-0) meph2/commands/cloudimg_sync.py (+24/-33) meph2/commands/dpkg.py (+128/-8) meph2/commands/meph2_util.py (+64/-71) meph2/stream.py (+9/-6) |
||||
To merge this branch: | bzr merge lp://staging/~ltrager/maas-images/kernels | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
maintainers of maas images | Pending | ||
Review via email:
|
This proposal has been superseded by a proposal from 2016-08-17.
Description of the change
Add support for the new kernel naming format. While the new kernel metapackages haven't been published yet this publishes the existing linux-generic, and linux-image-
Because the V2 stream can't use the new kernel names I had to create a new config file. As the new kernel names a much longer then the old names I converted the yaml arrays from using [] to newlines with -. I only did this for Xenial and Yakkety as they are the only releases that use the new kernels. If we want to make the config uniform I can do the same for Precise and Trusty. I also converted the --squash flag into a config option.
Unmerged revisions
- 327. By Lee Trager
-
Merge rename_squashfs
- 326. By Lee Trager
-
Add support for the new kernel naming scheme
- 325. By Lee Trager
-
Copy extra version fields during insert
- 324. By Lee Trager
-
Use rename instead of move
- 323. By Lee Trager
-
Limit the amount of PXE files provided, put all bootloaders in bootloaders dir, make bootloader version based on date stamp, store package names and version the bootloader came from
- 322. By Lee Trager
-
Store bootloaders in the base directory
- 321. By Lee Trager
-
Rename any SquashFS image to squashfs and include all versions in the bootloaders version string.
This renames any SquashFS file to squashfs, its filetype. This makes SquashFS images consistent with other filetypes which use their filetype as their filename. While testing I also noticed that the latest UEFI bootloader wasn't being downloaded. This is because the UEFI bootloader pulls from two different packages, shim.signed and grub-efi-
amd64-signed. Previously the first version string was being set as the bootloader version, now if there are multiple versions they are combined into one string.