Using utils from the base snap


I have a couple of questions about using utils from the base snap. I couldn’t find the concise answers easily, and don’t want to assume anything :slight_smile:

If you rely on a utility in your snap app, for example mkdir, that happens exist in the base snap, is it fine to just rely on it’s presence in base, or is it best to include in the snap itself ?

If the first line of an app command definition start with referencing a util from base, it seems to be required to reference it relatively, even though there is a know full path. Is that by design ?

For instance, in the mkdir example, I have a command in a deamon starts with mkdir, but snapcraft insist I must reference it by ../../../bin/mkdir


Cheers, Just

1 Like