On 07/30/2013 03:30 AM, Jukka Rissanen wrote:
On 29.07.2013 12:43, Muhammad Shakeel wrote:
On 07/26/2013 05:35 PM, Jukka Rissanen wrote:
  do_install_append() {
-  install -d ${D}${sysconfdir}/init.d/
-  install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono
+    if
${@base_contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
+        install -d ${D}${sysconfdir}/init.d/
+        install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono
+    fi
  }
  PACKAGES =+ "${PN}-tests"
We won't need above 'sysvinit' check as we are trying to implement this
for all packages through systemd class. Please see this:
http://patches.openembedded.org/patch/54671/

There is an issue here as I am using ofono.inc in separate ofono recipe
where I do not have ofono init script.
In that case I need to move the do_install_append() from ofono.inc to
ofono_1.12.bb file in order to reuse the ofono.inc.

I will send v2 after your patchset is committed.

This patchset is not getting committed as is, it's pending your address this issue and fixing the commit message of the 2nd patch enabling bluetooth, which was mentioned elsewhere.

The commit is wrong, it's not enabling bluetooth automatically, it's moving the code from .bb to .inc.

Thanks
        Sau!


Cheers,
Jukka

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to