Snap factory reset ?

Oliver Grawert ogra at ubuntu.com
Tue Sep 27 17:36:47 UTC 2016


hi,
On Di, 2016-09-27 at 18:27 +0100, Jamie Bennett wrote:
> On 27 Sep 2016 10:14, "Oliver Grawert" <ogra at ubuntu.com> wrote:
> >
> > hi,
> > On Di, 2016-09-27 at 10:08 -0700, Jamie Bennett wrote:
> > > 
> > > There is this script [1] that zyga maintains which will
> completely
> > > reset the
> > > snappy state i.e. removes everything.
> >
> > yes, including your rootfs snap, kernel and gadget :)
> > (which is why it refuses to actually run on an all-snap image (see
> line
> > 3))
> Right but the script should provide inspiration at least.
> 
well, if it is desired to have such a feature ahead of the filesystem-
layout solution that was discussed in vancouver, i'm happy to sit down
and create such a thing (though it would be massively different to this
script which leaves a lot stuff behind (like $HOME/snap)) as an interim
solution ...

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.snapcraft.io/archives/devices/attachments/20160927/cda530ff/attachment.pgp>


More information about the Devices mailing list