Pass --verbose to snap info so that it includes the base.

This commit is contained in:
Iain Lane 2020-02-24 09:56:09 +00:00
parent b843beb26b
commit ede0be897b
No known key found for this signature in database
GPG Key ID: E352D5C51C5041D4
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
livecd-rootfs (2.646) UNRELEASED; urgency=medium
* Pass --verbose to `snap info` so that it includes the base.
-- Iain Lane <iain.lane@canonical.com> Mon, 24 Feb 2020 09:55:46 +0000
livecd-rootfs (2.645) focal; urgency=medium
[ Robert C Jennings ]

View File

@ -490,7 +490,7 @@ _snap_preseed() {
# Determine if and what core snap is needed
local snap_info
snap_info=$(snap info "${SNAP_NAME}")
snap_info=$(snap info --verbose "${SNAP_NAME}")
if [ $? -ne 0 ]; then
echo "Failed to retrieve base of $SNAP_NAME!"