lp:~oddbloke/livecd-rootfs/custom-model-assertions

Created by Dan Watkins and last modified
Get this branch:
bzr branch lp:~oddbloke/livecd-rootfs/custom-model-assertions
Only Dan Watkins can upload to this branch. If you are Dan Watkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dan Watkins
Project:
livecd-rootfs
Status:
Merged

Recent revisions

1671. By Dan Watkins

Add changelog entry

1670. By Dan Watkins

Remove necessarily true conditional

1669. By Dan Watkins

Require brand:model to be passed to snap_prepare_assertions

We only need the default in one place, so remove it from all but the top-level
function.

1668. By Dan Watkins

Generalise other assertion paths

1667. By Dan Watkins

Don't include model assertion name in FS path (LP: #1764541)

There can only be one model assertion, so we don't need to disambiguate them.
This also brings us in line with the behaviour of `snap prepare-image`, and
consistency is nice.

1666. By Dan Watkins

Fix missing local variables

1665. By Dan Watkins

Fix another unbound variable

1664. By Dan Watkins

Fix use of unbound variable

1663. By Dan Watkins

Fix typo

1662. By Dan Watkins

Allow custom model assertions in snap_prepare_assertions

This also splits up the preparation in to two functions, so that images that
want to use a custom model assertion but don't have any snaps to preinstall
don't end up with the core snap installed.

Branch metadata

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

Subscribers