cover image

Snap install-time setup: the install hook

When it comes to developing snaps, there’s a particular confusion out there that I see over and over again: build-time versus run-time. For example: “I’m building a snap, but I can’t seem to convince Snapcraft to place my config file in $SNAP_DATA.” In this post, I want to show you how to get the results you want. First of all, we need to clear something up. Snapcraft can’t actually do this for you....

September 11, 2017 · 8 min · Kyle