Comment 5 for bug 1824255

Revision history for this message
Ian Johnson (anonymouse67) wrote : Re: snapcraft+snapd should allow generating/using wrappers for hooks

Unfortunately, even after generating the hooks using a part in my snapcraft.yaml I can't get this to work, as the generated snap.yaml never specifies a command-chain for the hooks. I have tried also specifically mentioning the hooks in the top-level snapcraft.yaml with:

```yaml
hooks:
  configure:
    plugs:
      - network
```

Do I also need to declare something else in the snapcraft.yaml to get the command-chain to be generated for the hooks?