This was supposedly pushed to #11546 but somehow that PR got merged without the
commit in it, so re-submit the patch again :-)
This would otherwise fail with trying to print off the contents of
/snap//current/meta/gadget.yaml which does not exist.
Thanks to Alberto for the suggestion.
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
This is the first iteration of the debug script for debugging customer issues,
with a collection of easily gathered and commonly requested information that is
helpful in debugging issues on Ubuntu Core.
Eventually this will become a snap command and a REST API endpoint, but for now
a script will have to do.
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>