As a general rule is it better to use any "path variable" instead of a hard-coded one.<br><br>
@g<br><br><div class="gmail_quote">On Sat, Jun 30, 2012 at 4:25 PM, Robert P. J. Day <span dir="ltr"><<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
i suspect i know the answer to this, but in the recipe file<br>
<a href="http://usbinit.bb" target="_blank">usbinit.bb</a>, we have:<br>
<br>
do_install() {<br>
install -d ${D}/etc<br>
install -d ${D}/etc/init.d<br>
install usb-gether ${D}/etc/init.d<br>
}<br>
<br>
i'm guessing that would more properly be coded:<br>
<br>
do_install() {<br>
install -d ${D}${sysconfdir}<br>
install -d ${D}${sysconfdir}/init.d<br>
install usb-gether ${D}${sysconfdir}/init.d<br>
}<br>
<br>
the end result is functionally identical, of course, it's all just a<br>
matter of style.<br>
<br>
rday<br>
<br>
--<br>
<br>
========================================================================<br>
Robert P. J. Day Ottawa, Ontario, CANADA<br>
<a href="http://crashcourse.ca" target="_blank">http://crashcourse.ca</a><br>
<br>
Twitter: <a href="http://twitter.com/rpjday" target="_blank">http://twitter.com/rpjday</a><br>
LinkedIn: <a href="http://ca.linkedin.com/in/rpjday" target="_blank">http://ca.linkedin.com/in/rpjday</a><br>
========================================================================<br>
<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
</blockquote></div><br>