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/
Regards,
Shakeel
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core