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

u-i-disk-info^2
Iain Lane 5 years ago
parent b843beb26b
commit ede0be897b
No known key found for this signature in database
GPG Key ID: E352D5C51C5041D4

6
debian/changelog vendored

@ -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 ]

@ -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!"

Loading…
Cancel
Save