How to make pre-installed snaps work with --devmode from u-d-f ?
Jamie Strandboge
jamie at canonical.com
Fri May 20 13:11:02 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160520/6e263386/attachment.sig>
More information about the Snapcraft
mailing list