ubuntu-image needs to provide a manifest for the contents of an image
Bug #1680574 reported by
Steve Langasek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Fix Released
|
High
|
Łukasz Zemczak |
Bug Description
To find out which versions of snaps were included in a particular build of an ubuntu-core image, I must:
- download the image
- kpartx -a
- mount /dev/mapper/loop1p2
- poke around in /var/lib/
Other images we publish to cdimage.ubuntu.com have manifest files, to tell us at a glance what's in the box. We need ubuntu-image to do the same.
Changed in ubuntu-image: | |
importance: | Undecided → High |
Changed in ubuntu-image: | |
assignee: | nobody → Barry Warsaw (barry) |
status: | New → In Progress |
Changed in ubuntu-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
$ ubuntu-image -w /tmp/wd pc-amd64.assertion root/system- data/var/ lib/snapd/ snaps/
$ ls /tmp/wd/
core_1636.snap pc-kernel_60.snap
So that seems like the information you're asking for. I guess a file listing of that directory would be the manifest you want, right? Should we just add a -m/--manifest argument which names a file into which we would write these snap file names?