Support for snap prepare-image --snap=<snap>=<channel>

Bug #1815580 reported by Łukasz Zemczak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Image
Fix Released
Medium
Łukasz Zemczak
ubuntu-image (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

With snapd 2.38, a new syntax to prepare-image will be added with the goal of replacing the --extra-snap option. The new --snap syntax will allow specifying the channel (and an additional mode) to every extra snap individually. We need to make sure ubuntu-image supports the new syntax, possibly dropping the use of the old one. Note to self: remember to bump the snapd version requirement to 2.38 once it's done.

Spec:

https://forum.snapcraft.io/t/evolving-prepare-image-syntax/5988

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Fixed in master.

summary: - Support for snap prepare-image --snap=<snap>:<channel>
+ Support for snap prepare-image --snap=<snap>=<channel>
Changed in ubuntu-image:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-image - 1.7+19.10ubuntu1

---------------
ubuntu-image (1.7+19.10ubuntu1) eoan; urgency=medium

  [ Maciej Borzecki ]
  * Some parser improvements: more strict schema for volume names, make sure
    structure names are unique. (LP: #1823160)

  [ Łukasz 'sil2100' Zemczak ]
  * Add support for the new prepare-image --snap=<snap>=<channel|risk> syntax,
    bump the snapd dependency to 2.38. (LP: #1815580)
  * Print a deprecation warning when using the old --extra-snaps syntax.
  * Ignore the new 'grain' field in the pyparted partitiontable structure
    during unit-tests, as otherwise it's causing test failures for disco+.
    (LP: #1826224)

 -- Łukasz 'sil2100' Zemczak <email address hidden> Wed, 24 Apr 2019 16:54:22 +0200

Changed in ubuntu-image (Ubuntu):
status: New → Fix Released
Changed in ubuntu-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.