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.


Cheers,
Jukka

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to