lp://staging/~smoser/maas-images/trunk.use-unshare
- Get this branch:
- bzr branch lp://staging/~smoser/maas-images/trunk.use-unshare
Branch merges
- Blake Rouse (community): Approve
-
Diff: 96 lines (+31/-2)4 files modifiedbin/kpack-from-image (+2/-0)
bin/maas-cloudimg2ephemeral (+2/-0)
bin/maas-qcow2targz (+3/-2)
bin/unshare-pidns (+24/-0)
Related bugs
Bug #1645680: apt feature broken on >=Yakkety due to new gpg agent | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 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. - 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