[bitbake-devel] recipetool issue with empty bbappends
Sai Pavan Boddu
sai.pavan.boddu at xilinx.com
Tue Jul 19 07:33:00 UTC 2016
Hi,
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
Regards,
B. Sai pavan
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
More information about the bitbake-devel
mailing list