[bitbake-devel] recipetool issue with empty bbappends

Sai Pavan Boddu sai.pavan.boddu at xilinx.com
Tue Jul 19 09:46:25 UTC 2016



> -----Original Message-----
> From: Paul Eggleton [mailto:paul.eggleton at linux.intel.com]
> Sent: Tuesday, July 19, 2016 2:55 PM
> To: Sai Pavan Boddu <saipava at xilinx.com>
> Cc: bitbake-devel at lists.openembedded.org; Manjukumar Harthikote Matha <MANJUKUM at xilinx.com>; Vineeth Karumanchi
> <VINEETHC at xilinx.com>
> Subject: Re: [bitbake-devel] recipetool issue with empty bbappends
> 
> Hi there,
> 
> On Tue, 19 Jul 2016 07:33:00 Sai Pavan Boddu wrote:
> > I see an issue, working with recipetool, which  basically gives error when I
> > point out an empty bbappend file generated form recipetool itself. Below
> > are the steps
> > recipetool newappend meta-saip/ linux-xlnx
> > recipetool setvar -r meta-saip/recipes-kernel/linux/linux-xlnx_4.4.bbappend
> > XSCTH_PROC "arm" Traceback (most recent call last):
> >   File "<path>/yocto/scripts/recipetool", line 116, in <module>
> >     ret = main()
> >   File "<path>/yocto/scripts/recipetool", line 107, in main
> >     ret = args.func(args)
> >   File "<path>/components/yocto/scripts/lib/recipetool/setvar.py", line 52,
> > in setvar patches = [oe.recipeutils.patch_recipe_file(args.recipefile,
> > varvalues, patch=args.patch)] File
> > "<path>/yocto/meta/lib/oe/recipeutils.py", line 258, in patch_recipe_file
> > if tolines[-1].strip() != '':
> > IndexError: list index out of range
> >
> > But I don't see the error if, bbappend file has atlease one line
> 
> I've just reproduced this and have filed the following bug for the issue:
> 
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=9972
Thanks Paul Eggleton.

Regards,
Sai Pavan
> 
> BTW in future for issues with recipetool / devtool could you please use the
> openembedded-core at lists.openembedded.org (or yocto at yoctoproject.org if you
> prefer) since recipetool isn't part of BitBake.
> 
> Thanks,
> Paul
> 
> --
> 
> Paul Eggleton
> Intel Open Source Technology Centre



More information about the bitbake-devel mailing list