lp:~smoser/maas-images/trunk.lp1688606-add-rooturl
- Get this branch:
- bzr branch lp:~smoser/maas-images/trunk.lp1688606-add-rooturl
Branch merges
- Blake Rouse (community): Approve
-
Diff: 49 lines (+24/-5)1 file modifiedbin/kpack-from-image (+24/-5)
Related bugs
Related blueprints
Branch information
Recent revisions
- 372. By Scott Moser
-
bin/kpack-
from-image: install rooturl if not already installed. This modifies the build of the initramfs so that they include
cloud-initramfs-rooturl. It will fail if that package is not available. cloud-initramfs
-rooturl is marked for SRU to current releases under
bug 1688606.The code will install the package in precise if it is available but
not fail if not available. On other releases that is fatal. - 371. By Lee Trager
-
Fix legacy meph2-util import command
The --max flag was added to meph2-import command. The import code was modified
to expect this flag. meph2-util uses the same code path but a different arg
list which caused it to fail when run. This adds the max flag to the common
args list so it is available to both. - 370. By Scott Moser
-
Fix regression in --proposed flag.
fix build-image and cloudimg-sync after regression in --proposed
change from revno 364. - 369. By Scott Moser
-
meph2/ubuntu_
info.py: Fix version comparison by codename We were filtering out releases based on string comparison of "<" "hardy".
That was fine until artful joined the mix.Now instead compare based on floating point value.
- 368. By Scott Moser
-
curtin/
centos7/ curtin- hooks: fix missing import of re use of re module was added in revno 361, but not imported.
- 367. By Scott Moser
-
add squashfs into the initramfs on precise.
This just add squashfs to the initramfs that are generated and
only adds it for precise. Other releases get squashfs in initramfs
by default. - 366. By Scott Moser
-
support adding additional repos and packages via environment.
This adds reading of the following environment variables:
M2E_ADD_REPOS: repos to add to all images before other operations.
M2E_ADD_PACKAGES: packages to add to all imagesThis was useful when trying to build images with a new
cloud-initramfs-tools package that had rooturl support. - 365. 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. - 364. By Scott Moser
-
add '--proposed' option to build-image and meph2-cloudimg-
sync. This just surfaces a --proposed option to the 'meph2-util build-image'
and to meph2-cloudimg-sync commands.The --proposed defaults to False, but will not overwrite a
'enable_proposed' setting in a --config= argument.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:maas-images