i guess it will either become a kernel cmdline option (that you set in
the gadget indeed) to trigger a creation script in the initrd (if you
need swap you perhaps want it really early because your system is low on
ram ... i.e. before you clutter memory with userspace processes)

...or actually via a core snap configuration option that would be
handled from a config hook ...

in the latter case snapd would need swapon and fallocate support in the 
core-support interface. 
but i think userspace is to late for this and in the first case above, snapd 
wouldnt be involved at all.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560942

Title:
  Support swap

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1560942/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to