lp://staging/~smoser/maas-images/trunk.use-unshare

Created by Scott Moser and last modified
Get this branch:
bzr branch lp://staging/~smoser/maas-images/trunk.use-unshare
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
maas-images
Status:
Merged

Recent revisions

363. By Scott Moser

make sure unshare-pidns is in path.

362. By Scott Moser

unshare-pidns: fix bad varname

361. By Scott Moser

When using chroot unshare pid namespace when possible.

This adds a helper 'unshare-pidns' that invokes unshare --pid --fork
if it is available. It will not fail when it is not available though
as it is not expected to be present on trusty and precise.

The reason for this is so any unexpected children of the chroot process
will be killed allowing unmount to succeed.
See LP: #1645680 for example of such issues.

360. By Lee Trager

Fix CentOS 7 Curtin hook when deploying to a UEFI AMD64 system

359. By Lee Trager

The grub package renamed shim.efi to shimx64.efi

358. By Lee Trager

Fix typo in Xenial AMD64 kpackage name.

357. By Lee Trager

Use HWE kernels instead of place holders

356. By Lee Trager

Limit the number of CentOS images imported

355. By Scott Moser

netinst: support d-i hwe kernels from rolling hwe

For LTS releases prior to xenial, the hardware enablement kernel was
specifically tied to a subsequent release. Thus, for trusty we had
d-i paths like:

 device-tree/apm-merlin.dtb
 wily-device-tree/apm-merlin.dtb
 xenial-device-tree/apm-merlin.dtb

 netboot/ubuntu-installer/i386/linux
 wily-netboot/ubuntu-installer/i386/linux
 xenial-netboot/ubuntu-installer/i386/linux

 generic-lpae/netboot/initrd.gz
 wily-generic-lpae/netboot/initrd.gz
 xenial-generic-lpae/netboot/initrd.gz

With xenial, the hwe kernel is not specifically tied to a release, but
rather "rolls". So we have new paths that look like this:

 hwe-device-tree/apm-merlin.dtb
 hwe-netboot/ubuntu-installer/i386/linux
 hwe-generic-lpae/netboot/initrd.gz

For those the 'kernel_release' data is set to simply "hwe".

The unit test data tests/unittests/file_item_data.json is updated here
and sorted with the following:
  $ cat sort-json.py
  import json, sys
  with open(sys.argv[1], "rb") as fp:
      data = json.loads(fp.read().encode())
  with open(sys.argv[1], "wb") as fp:
      fp.write(json.dumps(data, indent=1, sort_keys=True,
                        separators=(",", ": ")).encode("utf-8") + "\n")
  $ sort-json.py tests/unittests/file_item_data.json

354. By Lee Trager

Install linux-firmware package on CentOS 7

Upstream doesn't include linux-firmware on CentOS 7 which is required for
certain hardware. Extra CentOS packages are now defined in the yaml file
instead of being hard coded in the source.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/maas-images
This branch contains Public information 
Everyone can see this information.

Subscribers