[oe] Inheriting conditionally
Dr. Michael Lauer
mickey at vanille-media.de
Wed Aug 8 13:58:49 UTC 2007
Matt Hoosier wrote:
> Thanks. I also got the "bright" idea to install a dummy init script
> for any distribution other than mine:
> do_install () {
> ...
> install -d -m 0755 ${D}${sysconfdir}/init.d
> if [ "${DISTRO}" = "foinse" ] ; then
> install -m 0755 ${WORKDIR}/init
> ${D}${sysconfdir}/init.d/pulseaudio
> else
> echo "#! /bin/sh" > ${D}${sysconfdir}/init.d/pulseaudio
> chmod 0755 ${D}${sysconfdir}/init.d/pulseaudio
> fi
> }
This looks like something that could be much better done using the
distro OVERRIDE.
Regards,
:M:
--
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
More information about the Openembedded-devel
mailing list