[oe] [PATCH] busybox: Split syslog initscript into busybox-syslog

Michael Smith msmith at cbnco.com
Mon Jun 8 13:24:42 UTC 2009


Phil Blundell wrote:
> On Sun, 2009-06-07 at 16:43 -0400, Michael Smith wrote:
>> +# Make busybox recommend busybox-syslog for those images that expect it
>> +RRECOMMENDS_${PN} += "libgcc ${PN}-syslog"
> 
> I guess it'd be a good idea to make this conditional on
> CONFIG_SYSLOGD=y.  Otherwise, folks who build with syslogd off will see
> a confusing "unsatisfied recommendation" diagnostic whenever they
> install busybox.

Hi Phil,

I think you had suggested using add_task to insert a Python block after 
do_fetch and before do_compile to modify RRECOMMENDS_${PN} conditionally 
based on ${WORKDIR}/defconfig.

What I'm wondering is how would that modification get persisted if, say, 
bitbake failed during do_compile, and then I restarted it? Would it 
think from the stamp that it's already done do_mangle_rrecommmends, and 
not bother running it again? Then RRECOMMENDS_${PN} would go back to 
whatever it was at parse time, i.e. no busybox-syslog. Is there a way 
around that?

Thanks,
Mike




More information about the Openembedded-devel mailing list