lp:~smoser/maas-images/lp1689557-build-squashfs-trusty
- Get this branch:
- bzr branch lp:~smoser/maas-images/lp1689557-build-squashfs-trusty
Branch merges
- Lee Trager (community): Approve
-
Diff: 293 lines (+289/-0)1 file modifiedbin/img2squashfs (+289/-0)
Related bugs
Bug #1689557: replace iscsi usage in ephemeral image with rooturl | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 373. By Scott Moser
-
add img2squashfs tool
This will convert an image (such as root.tar.gz or root.gz) into a
squashfs image. - 372. By Scott Moser
-
ubuntu_info: remove the path that did not require distro-info
At one point we had a functional path that did not require installation
of python-distro-info. At some point that path broke because we were
exporting data in REL2VER was not accounted for in the __RELEASE_DATA.
Specifically missing was 'supported'.The primary path that was enabled by the hard coded data was testing
with a new distro info before the package was sru'd. To account for
that I've put a comment in the code showing how one can be added.As a drive-by, this also adds the 'release_date' field to the data
exported. - 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