Here is my initial pass of packaging the identity service as a snap. Dropping here as a draft to socialize and solicit feedback.
This includes @micahl's work on build-time userid settings.
It also includes build-time alternative implementations for service management commands (as systemctl doesn't work well in a snapped environment). It doesn't handle the aziotctl system status case as that doesn't map quite as cleanly, so more work will be required there.
This does not account for the possibility of #478, except for a little of the groundwork which is in snapcraft.yaml but commented out. Incorporated those changes here.
Here is my initial pass of packaging the identity service as a snap. Dropping here as a draft to socialize and solicit feedback.
This includes @micahl's work on build-time userid settings.
It also includes build-time alternative implementations for service management commands (as systemctl doesn't work well in a snapped environment). It doesn't handle the
aziotctl system status
case as that doesn't map quite as cleanly, so more work will be required there.This does not account for the possibility of #478, except for a little of the groundwork which is in snapcraft.yaml but commented out.Incorporated those changes here.