How to make pre-installed snaps work with --devmode from u-d-f ?

Zygmunt Krynicki zygmunt.krynicki at canonical.com
Fri May 20 13:11:57 UTC 2016


@jamie: not yet, I have a patch for that but I never sent it

On Fri, May 20, 2016 at 3:11 PM, Jamie Strandboge <jamie at canonical.com> wrote:
> On Fri, 2016-05-20 at 09:07 +0200, Zygmunt Krynicki wrote:
>> Hi
>>
>> The way images are built is being reorganized now. What this means for
>> you in practice:
>>  - you will be able to define what an image should contain in a simple
>> file (model assertion)
>>  - the new ubuntu-image tool will take that assertion and create an image
>>  - on first boot, everything will be installed by snapd
>>  - if your snap has confinement: devmode it will be installed as such
>> (I'll confirm with the rest of the team to be sure)
>>
> I'm not sure if you are talking about the image generation process only, but I
> thought for normal install the 'confinement' flag in the yaml indicates that the
> snap cannot be installed without specifying --devmode. If it is instead simply a
> way to tell 'snap install' to install in devmode without specifying --devmode,
> then we've effectively reintroduced 'unconfined' and people might install things
> thinking they are confined when they are not.
>
> Speaking of which-- do we indicate anywhere that a snap is operating in devmode?
> I just installed hello-world with --devmode and I don't see in 'snap list' or
> 'snap interfaces' anything indicating it is in devmode.
>
> --
> Jamie Strandboge             | http://www.canonical.com
>




More information about the Snapcraft mailing list