ubuntu-image (0.13+17.04ubuntu1) zesty; urgency=medium

  * Refuse to write images to /tmp when running ubuntu-image as a snap,
    since the snap's /tmp is not accessible to the user.  (LP: #1646968)
  * When sparse copying the resulting disk image, don't try to preserve
    mode,ownership,timestamps.  Over remote file systems (e.g. afp, hgfs)
    this can fail.  Over local file systems, they'll be preserved anyway.
    (LP: #1637554)
  * d/tests/mount: Switch to the stable channel for snaps.
  * Make the test suite immune to the locale.  (LP: #1638570)

 -- Barry Warsaw <barry@ubuntu.com>  Mon, 09 Jan 2017 15:38:40 -0500

ubuntu-image (0.12+17.04ubuntu1) zesty; urgency=medium

  * Revert previous change which sorted structure volumes by their
    offset.  Instead, we preserve gadget.yaml order for purposes of
    partition numbering, but we still provide implicit offsets when they
    are missing, and we still sanity check for partition overlap.
    (LP: #1642999)
  * Provide human-readable error messages on gadget.yaml parser failures,
    not Python tracebacks (unless --debug is given).  (LP: #1617421)
  * Change the way we invoke the autopkgtests.
    - Use a standard d/t/control file instead of d/t/control.autodep8.  We
      were only using the Python 3 import test anyway.
    - Add an import.sh stanza to reproduce the Python 3 import bits we
      lost by removing autodep8.
    - Turn the `tox -e coverage` Test-Command into a separate test
      script so that we can manipulate the $UBUNTU_IMAGE_CODENAME
      environment variable.  This is used by tox.ini to select an
      appropriate *-coverage.ini file since Xenial does not and cannot
      cover certain code paths.  Everything after Xenial gets named 'devel'.
    - Narrow the dependencies so that they aren't just importing all
      binary packages.  The effects may be similar, but EIBTI.
  * d/control: Drop Testsuite header; we're not doing autodep8 anymore.
  * Rename the environment variable $UBUNTUIMAGE_MOCK_SNAP to
    $UBUNTU_IMAGE_MOCK_SNAP for consistency.
  * Skip some tests which touch the actual store when running without
    network access (e.g. during package build time).
  * Move the __version__ calculation to the package's __init__.py
  * Parse all YAML integer-like values as strings, and then turn them into
    integers if necessary during post-processing.  (LP: #1640523)
  * gadget.yaml files can include an optional `format` key which names the
    version number supported by the gadget.yaml.  Currently only format 0
    is supported, which is a legacy version (omitting the format is
    equivalent).  (LP: #1638926)
  * d/control: Add run-time dependencies which are missing from snapd but
    are required for `snap prepare-image`.  (LP: #1642427)
  * Structures with type='mbr' are deprecated.  Use structure role
    instead.  (LP: #1638660)
  * mbr structures must start at offset 0.  (LP: #1630769)
  * Fixed sanity checking of --image-size argument for out-of-offset-order
    structure definitions.  (LP: #1643598)
  * Prevent wrapping blobs in disk partitions by using the `type: bare`
    structure key.  (LP: #1645750)

 -- Barry Warsaw <barry@ubuntu.com>  Tue, 08 Nov 2016 17:31:21 -0500

ubuntu-image (0.11+17.04ubuntu1) zesty; urgency=medium

  * Sort the structures in a volume by their offset, even if the offset is
    defined implicitly (i.e. not present in the gadget.yaml).  Also, check
    for any structure conflicts and raise a ValueError in that case.
    (LP: #1631423)
  * offset-write arguments will only accept 32 bit integers.  (LP: #1617443)
  * Add a better manpage.  (LP: #1638386)
  * Tracebacks in the `snap prepare-image` command are suppressed unless
    --debug is given.  However, the failure is still logged.  (LP: #1621445)
  * Handle -but ignore- the gadget.yaml `defaults` section.  (LP: #1632449)
  * Structure ids are disallowed on mbr volumes.  (LP: #1632724)
  * The package can still be built if python3-debian is not available.

 -- Barry Warsaw <barry@ubuntu.com>  Fri, 04 Nov 2016 18:54:16 -0400

ubuntu-image (0.10+17.04ubuntu1) zesty; urgency=medium

  * Only write out nocloud-net metadata file (thus indicating a local seed
    and preventing a search elsewhere for user data) when the --cloud-init
    parameter is given.  (LP: #1633232)

 -- Barry Warsaw <barry@ubuntu.com>  Tue, 25 Oct 2016 09:51:24 -0400

ubuntu-image (0.9+17.04ubuntu1) zesty; urgency=medium

  * Fix snap creation.  (LP: #1631961)
  * Copy everything under <unpackdir>/image into <rootfs>/system-data
    except boot/.  (LP: #1632134)
  * Optional --image-size command line option can be used to force the
    resulting disk image to a larger than calculated size.  (LP: #1632085)
  * Fix MBR partition size rounding error due to internal bug and implicit
    sfdisk(8) behavior.  Give by Steve Langasek.  (LP: #1634557)
  * Added autopkgtests to ensure all official models can be built, and
    their mountable partitions can be mounted.  (LP: #1635337)
  * During image building, stash a copy of the gadget.yaml into the workdir.
  * d/control: gdisk is a run-time dependency; remove the duplicate snapd
    run-time dependency.

 -- Barry Warsaw <barry@ubuntu.com>  Mon, 10 Oct 2016 10:48:49 -0400

ubuntu-image (0.7ubuntu1) yakkety; urgency=medium

  [ Steve Langasek ]
  * Don't build 4GB images, instead build images just as large as needed
    to hold the contents and let ubuntu-core resize them dynamically on
    first boot.  LP: #1619362.
  * Ensure cross-filesystem copies don't accidentally de-sparsify our
    image.
  * Update model.assertion test file to be compatible with snapd 2.14.2.
  * debian/control:
    - Declare Testsuite: autopkgtest-pkg-python in debian/control so that the
      package is visible to the test infrastructure.
    - Remove e2fsprogs from Build-Depends and Depends as per lintian.

  [ Barry Warsaw ]
  * Repair snapcraft.yaml for Python plugin changes.
  * Reorganize and flesh out command line options.
  * 100% test coverage. (LP: #1617445)
  * Use only the autopkgtest infrastructure for pull request testing.
    Don't use Travis-CI anymore.  (LP: #1625729)

 -- Barry Warsaw <barry@ubuntu.com>  Thu, 06 Oct 2016 18:46:06 -0400

ubuntu-image (0.6ubuntu3) yakkety; urgency=medium

  * Make the mtools a versioned dep for real, not a versioned build-dep.

 -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 08 Sep 2016 00:45:37 -0700

ubuntu-image (0.6ubuntu2) yakkety; urgency=medium

  * Add a versioned dependency on a fixed mtools.  LP: #1619718.

 -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 08 Sep 2016 00:03:19 -0700

ubuntu-image (0.6ubuntu1) yakkety; urgency=medium

  * Add --extra-snaps option to support specifying extra snaps to include.
    LP: #1619219.
  * Show output of snap prep-image, so that the user gets download progress
    instead of long pauses with no activity.  LP: #1619194.
  * Only set UBUNTU_IMAGE_SKIP_COPY_UNVERIFIED_MODEL in tests, now that
    model assertions are live.  LP: #1619374.

 -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 07 Sep 2016 08:36:23 -0700

ubuntu-image (0.5ubuntu1) yakkety; urgency=medium

  * Relax versioned build-dependency on e2fsprogs.  Either we have this
    version available in the target release, in which case the versioned
    dependency is not required; or we don't, in which case the testsuite
    already degrades gracefully and we should avoid blocking the build.
  * fix regression in gpt partition handling.

 -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 01 Sep 2016 01:52:30 -0700

ubuntu-image (0.4ubuntu1) yakkety; urgency=medium

  * More image building fixes: uboot, mbr support now implemented, which
    lets the rpi2 image build.

 -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 31 Aug 2016 18:27:20 -0700

ubuntu-image (0.3ubuntu1) yakkety; urgency=medium

  * More image building fixes.

 -- Barry Warsaw <barry@ubuntu.com>  Fri, 26 Aug 2016 17:15:53 -0400

ubuntu-image (0.2ubuntu1) yakkety; urgency=medium

  * Some additional fixes needed for RTM.

 -- Barry Warsaw <barry@ubuntu.com>  Fri, 26 Aug 2016 10:35:03 -0400

ubuntu-image (0.1ubuntu1) yakkety; urgency=medium

  * Initial release.

 -- Barry Warsaw <barry@ubuntu.com>  Thu, 25 Aug 2016 17:11:25 -0400
