Merge lp://staging/~ltrager/maas-images/kernels into lp://staging/maas-images

Proposed by Lee Trager
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
Reviewer Review Type Date Requested Status
maintainers of maas images Pending
Review via email: mp+303082@code.staging.launchpad.net

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-lowlatency-lts-xenial images using the hwe-16.04 and hwe-16.04-lowlatency names. As the new kernels become available I'll add the hwe-16.04-edge, hwe-16.04-lowlatency-edge, hwe-rolling, hwe-rolling-edge, hwe-rolling-lowlatency, and hwe-rolling-lowlatency-edge kernels. Precise and Trusty still use the old names.

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.

To post a comment you must log in.
327. By Lee Trager

Merge rename_squashfs

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.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches