Azure / iot-identity-service

Source of the Azure IoT Identity Service and related services.
MIT License
37 stars 46 forks source link

Snapping: initial pass #479

Closed alexclewontin closed 1 year ago

alexclewontin commented 1 year ago

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.

alexclewontin commented 1 year ago

Closing in favor of PR(s) against the feature/snapping branch (i.e. https://github.com/Azure/iot-identity-service/pull/520)