Hi,
I wanted to capture one of the issues that was encountered.
ubuntu-device-flash snap can not work from an Ubuntu Core system; this is
because it calls kpartx with the -s flag which relies on libdevmapper
coordinating with its udev counterpart. Because dmsetup isn't installed in
the core image
Yep; but the failure in kpartx didn't seem specific to local vs remote
snaps.
For people on the list, I followed up on IRC and Yann was running into
weird issues with kpartx and ext4 in his environments, but from a clean
Ubuntu vm things worked and that's a viable solution for now.
Cheers,
- Loïc
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 --g
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
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
Determining gadget configuration
836.00 KB / 836.00 KB [=
Le 08/31/2016 à 10:56 AM, Simon Fels a écrit :
> On 31.08.2016 10:49, Yann Sionneau wrote:
>> Hello,
>>
>> It seems the new (snapp'ed) ubuntu-device-flash cannot use my own gadget
>> snap anymore.
>>
>> yann@imperium$ sudo -E /snap/bin/ubuntu-device-flash --verbose core 16
>> -o snappy.img --chan
On 31.08.2016 10:49, Yann Sionneau wrote:
> Hello,
>
> It seems the new (snapp'ed) ubuntu-device-flash cannot use my own gadget
> snap anymore.
>
> yann@imperium$ sudo -E /snap/bin/ubuntu-device-flash --verbose core 16
> -o snappy.img --channel edge --gadget $PWD/../../../xxx_2.0_all.snap
> --ke
Hello,
It seems the new (snapp'ed) ubuntu-device-flash cannot use my own gadget
snap anymore.
yann@imperium$ sudo -E /snap/bin/ubuntu-device-flash --verbose core 16
-o snappy.img --channel edge --gadget $PWD/../../../xxx_2.0_all.snap
--kernel ../../../xxx_kernel/xxx-kernel_3.10.97_armhf.snap --o