lp:~smoser/curtin/trunk.lp1680591

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/curtin/trunk.lp1680591
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:
curtin
Status:
Merged

Recent revisions

483. By Scott Moser

mention bug

482. By Scott Moser

Fix systems with root on bcache device.

Systems with root on bcache would end up booting with root=/dev/bcache0
(or bcache1). Bcache device names are not guaranteed, so this could
cause issues.

The fix is to invoke 'udevadm trigger' after creating a filesystem on
a bcache device. That will populate /dev/disk/by-uuid, which will
cause grub to properly decide to boot by root=UUID=.

481. By Joshua Powers

tests: re-enable ZestyTestMdadmBcache.

This was disabled due to bug 1667078 which is now fixed.

480. By Scott Moser

curthooks: fix pylint reported error when using ubuntu_core_curthooks.

The previous commit added code that called ubuntu_core curthooks and
then sys.exit() with its return. It would never return a value,
so this is in the end the same.

479. By Ryan Harper

Add support for installing Ubuntu-Core 16 images

UC16 images are compressed-xz raw images which need to be written
directly to disk. Introduce new source types dd-{xz,gz,bz2,raw}
and pass them to block_meta write_image_to_disk. Update block_meta's
find_root_dev to look for UC16 specific paths to identify the root
partition.

UC16 images are generally not modifiable and do not contain dpkg/apt,
therefore curtin handles curthooks on UC16 differently. Add a new
top-level 'cloudconfig' key which is modeled after write_files to be
used by maas to inject cloud-init into a UC16 image; curtin appends
these files out in the "writable" partition of UC16 which will be
mounted up on top of the root partition. Add an initial vmtest
(disabled by default) as UC16 images are not yet available via maas
streams data.

478. By Andres Rodriguez

Add 'STORAGE_CONFIG_V1_DD' to the feature list.

Adds the 'STORAGE_CONFIG_V1_DD' variable to represent that selection of
target disk can be influenced via storage config when installing a dd
image.

477. By Scott Moser

flake8: fix flake8 issues with previous merge.

Simply fix the flake8 issues with the previous commit.

476. By Andres Rodriguez

Support selection of target disk for dd images install via storage config.

If storage config is provided to a dd image installation, and one of the
disks listed includes the 'grub_drive', select that as the target for dd.

475. By Joshua Powers

vmtest: have vmtest-sync-images avoid running when jenkins-runner is.

This simply checks if any jenkins-runner jobs are active, and sleeps for
a random amount of time and then checks again. This is just very simple
prevention of our build systems syncing while a vmtest is running.

474. By Joshua Powers

tools/curtin-from-container: do not use lxc file push --create-dirs

create-dirs option is not present in 'lxc file push' in lxc 2.0.9.
So do the create ourselves with mkdir inside the container.

Branch metadata

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

Subscribers