<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2018年09月06日 01:34, Richard Purdie
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:29c9d4100bb58139048de99ecd6341b440873889.camel@linuxfoundation.org">
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">-
-if [ "x$D" != "x" ]; then
-  exit 0
-fi
-
+pkg_postinst_ontarget_prelink() {
 prelink -a
 }
</pre>
      </blockquote>
      <pre wrap="">I'm not sure this is correct. The idea here is that no postinst runs,
on target or at rootfs time (since we prelink the rootfs elsewhere at
rootfs time). The only time a postinst runs is if the package is
actually installed onto a target system later on a running system.

I think you change the behaviour here so that it would run on the
target system at first boot?
</pre>
    </blockquote>
    <br>
    Yes, you are right, since the behavior is on purpose, the fix<br>
    is not necessary, please drop it.<br>
    <br>
    <blockquote type="cite"
cite="mid:29c9d4100bb58139048de99ecd6341b440873889.camel@linuxfoundation.org">
      <pre wrap="">
Cheers,

Richard
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>