New ubuntu-device-flash cannot use own gadget snap?

Oliver Grawert ogra at ubuntu.com
Wed Aug 31 10:34:18 UTC 2016


hi,
Am Mittwoch, den 31.08.2016, 12:26 +0200 schrieb Simon Fels:
> On 31.08.2016 12:16, Loïc Minier wrote:
> > 
> > Works for me:
> > 
> > $ sudo -E UBUNTU_DEVICE_FLASH_IGNORE_UNSTABLE_GADGET_DEFINITION=1
> > /snap/bin/ubuntu-device-flash --verbose core 16 -o snappy.img --
> > channel
> > edge  --gadget pc --kernel pc-kernel --os ubuntu-core
> Yann is trying to use a gadget snap which isn't in the store but
> placed
> on the local disk. So I suspect he is running something like
> 
> $ sudo -E UBUNTU_DEVICE_FLASH_IGNORE_UNSTABLE_GADGET_DEFINITION=1
> /snap/bin/ubuntu-device-flash ... --gadget /home/user/my-gadget.snap
> ...
> 

... 
> >     /dev/mapper/loop3p2: mke2fs 1.42.13 (17-May-2015)

this looks more like there are dangling loop devices (and mounts) from
former failed attempts ... i'd try umount and kpartx -d ... 

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160831/8832416f/attachment.sig>


More information about the Snapcraft mailing list