lp:~smoser/curtin/trunk.lp1684128

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

492. By Scott Moser

copy content in binary mode only.

if the install log had content that was not decodable, then this
would fail.

491. By Scott Moser

move copy later

490. By Scott Moser

fix pep8

489. By Scott Moser

fix error

488. By Scott Moser

Copy curtin install log into target.

The install log was not correctly being copied into the target.
Now, by default the target should get:
  install log: /root/curtin-install.log
  merged config: /root/curtin-install-cfg.yaml

487. By Joshua Powers

vmtest: update source.list test

The change that was made to the builtin /etc/apt/sources.list in the
cloud images for xenial was done so recently under bug LP: #1513529.
That was by design and required for consistency and this change updates
the curtin vmtest accordingly.

LP: #1682516

486. By Scott Moser

add recursive flag to do_umount, add --umount to block-meta

This adds a 'recursive' argument to util.do_umount, and utilizes
it from install.py. The basic idea of do_umount with recursive
is to walk through /proc/mounts in reverse and unmount anything
mounted under the provided mountpoint (or the mountpoint itself).

Also added here is use of that function from block-meta command.
We add a flag --umount to unmount filesystems at its end.

485. By Scott Moser

load_command_environment: fix strict flag, and unit tests.

The strict=True option to load_command_environment was broken.
Instead of checking for the expected environment variables in the
environment, it would check the state names.

484. By Ryan Harper

block_meta: Attempt to mount by UUID= if possible

When generating fstab entries in mount_handler prefer UUID if the
underlying volume has an identifiable UUID available.

Update vmtests to check by UUID in test_basic.

Fixes LP:#1676991

483. By Scott Moser

Make systems with root on bcache use root=UUID=.

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=.

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