Comment 7 for bug 1824255

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

As a work-around for this, if you define an app in snapcraft.yaml to use the full adapter, snapcraft still generates a command-chain that is usable for hooks that you can pass along to the snap.yaml using passthrough in the snapcraft.yaml like so:

```

assumes: [command-chain]
passthrough:
  hooks:
    configure:
      command-chain:
      - snap/command-chain/snapcraft-runner

apps:
  mything:
    adapter: full
...
```