lp:~curtin-dev/curtin/trunk

Created by Scott Moser on 2013-05-30 and last modified on 2017-12-20
Get this branch:
bzr branch lp:~curtin-dev/curtin/trunk
Members of curtin developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
curtin developers
Project:
curtin
Status:
Development

Recent revisions

554. By Scott Moser on 2017-12-20

README: Mention move of revision control to git.

curtin development has moved its revision control to git.
It is available at
  https://code.launchpad.net/curtin

Clone with
  git clone https://git.launchpad.net/curtin
or
  git clone git+ssh://git.launchpad.net/curtin

For more information see
  http://curtin.readthedocs.io/en/latest/topics/development.html

553. By Scott Moser on 2017-12-15

Release 17.1

552. By Scott Moser on 2017-12-08

packaging: update debian/build-deb to remove ~bzrREV when using equal tag

When building a curtin package from tree, if the current revno matches
a tag revision, use the tag value and drop the ~bzrREV from the version
 string.

551. By Scott Moser on 2017-12-08

pack: fix packing when curtin is installed inside a snap.

When curtin is installed as part of a MAAS snap, then it would fail
to find its helpers directory. That is because instead of helpers
living in usr/lib/curtin/helpers they will be in
 /snap/maas/<version>/usr/lib/curtin/helpers
But helpfully, SNAP will be set in the environment to point to
 /snap/maas/<version>/

The fix is to adjust pack to trust the environment variable
and pack up the installed files based on that prefix.

550. By Scott Moser on 2017-12-08

tox: move to pylint 1.7.4

Update the pylint version used in tox from 1.5.4 to 1.7.4.
The primary gain from this is the ability to run with python3.6.
  https://github.com/PyCQA/pylint/issues/1113

549. By Scott Moser on 2017-12-06

vmtests: iscsi minor cleanup.

This does 2 things.
a.) move the building of a rfc4173 string into a function.
b.) replace usage of 'uuidgen' with python standard library 'uuid'

548. By Ryan Harper on 2017-11-30

vmtests: exercise rootfs over an lvm logical volume

- modify mkfs to handle key=value parameter replacement for mkfs.xfs to
  control the uuid value of the filesystem
- Allow templating of the lvmroot yamls to specify different rootfs format
  types. This allow for testing with multiple fstypes without duplicating
  input yaml
- Fix a lurking CURTIN_REUSE_TOPDIR=1 bug under uefi mode where we attempt
  to rewrite grub.conf always
- Add a specific uefi_lvmroot configuration to match user issue from
  Bug #1731490
- Update vgcreate, lvcreate invocations to zero and wipe target devices
  and volumes where possible (> trusty) which eliminates the scary
  warning about detecting filesystem signatures on lv creation.

547. By Ryan Harper on 2017-11-30

Switch network dep filter to test for ifupdown/nplan instead of release name

Curtin will install some additional packages in-target depending on the
configuration. For example, if the curtin config includes bridges,
then it will ensure that bridge-utils is installed. These deps are
valid for releases using ifupdown. In Artful and newer (Bionic) netplan
is used instead and these tools are not needed.

This patch changes a release based check to a package install check.
If a system does not have ifupdown and also has netplan (nplan package)
then it will NOT install any ifupdown related deps (bridge-utils, vlan,
ifenslave).

546. By Ryan Harper on 2017-11-28

Allow control of curtin install unmounting

A Curtin install always unmounts the target. In the subiquity use-case
they would like to support a) if something goes wrong give a shell to
the user to poke around in the target b) skip unmounting automatically
to allow writing of additional files in the target without re-invoking
curtin c) control where curtin mounts up storage devices.

This branch adds two fields to the curtin 'install' config key: The
'target' value is a path that will be used instead of a temporary
directory. The 'unmount' key if found to be present and has the value
of 'disabled' then curtin install will skip the unmount operation.

Additionally to aid in unmounting a target outside of the install
subcommand this branch introduces a curtin 'unmount' subcommand which
takes two params: the 'target' path to the mount point, the default
'target' value is to use the TARGET_MOUNT_POINT environment variable.
Curtin will by default do unmounts in a recursive manner meaning any
directory mounted underneath the target will also be unmounted. A user
may supply '--disable-recursive-mounts' as a flag which will disable
the recursion resulting in a single unmount operation.

545. By Scott Moser on 2017-11-28

vmtests: Add Bionic release to tests and update classes.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.