<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 09/11/2016 à 09:39, Boris Rybalkin a
écrit :<br>
</div>
<blockquote
cite="mid:CADcVQYsLR7JtMu1ZsF_ZGGwH1kQ7RK8XQDOip6FzgryJC1q60g@mail.gmail.com"
type="cite">
<p dir="ltr">Sorry, I did not get that.</p>
<p dir="ltr">I am using snapcraft, are you saying that just
creating hooks/configure is not enaugh?</p>
</blockquote>
It should be enough if you ensure it's in your final snap in
meta/hooks/configure. (Look at your prime/ directory).<br>
Enwei was talking about more advanced snapcraft integration, where
you point to a file which is then copied for you in meta/hooks.<br>
<br>
<blockquote
cite="mid:CADcVQYsLR7JtMu1ZsF_ZGGwH1kQ7RK8XQDOip6FzgryJC1q60g@mail.gmail.com"
type="cite">
<p dir="ltr">Looks like my hook is not executed:<br>
<a moz-do-not-send="true"
href="https://github.com/syncloud/platform/tree/master/snap">https://github.com/syncloud/platform/tree/master/snap</a></p>
<p dir="ltr">Is it possible to debug the execution of snap
install?</p>
<p dir="ltr">I would like to see the state of the snap after it
failed to start daemons. The only way to see the problem is to
run journalctl and guess by startup errors.</p>
<div class="gmail_extra"><br>
</div>
</blockquote>
Yeah, hooks are hard to debug, I filed <b
style="font-weight:normal;"
id="docs-internal-guid-64dccfd7-484b-ceda-a91e-d2b3b4567373"><a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/snappy/+bug/1640114">https://bugs.launchpad.net/snappy/+bug/1640114</a>
yesterday about this.<br>
<br>
Didier<br>
</b><br>
</body>
</html>