[yocto] Literal curly braces inside python expression

2017-03-10 Thread Viguera, Javier
Hi all, I'm having a hard time trying to put some literal curly braces in a python expression and I need a bit of help to solve this problem. I minimal example to reproduce this. If in my recipe i have: VAR1 = "1" VAR2 = "${@base_conditional('VAR1', '1', '{ONE}', '{TWO}', d)}" do_install() {

Re: [yocto] Dependence from image type to image recipe

2017-02-20 Thread Viguera, Javier
Hello Andrea, On 20/02/17 15:45, Andrea Adami wrote: > > Hello, > I think you have just to adapt to the changes in oe-core [1] > > -recovery-initramfs:do_rootfs \ > +recovery-initramfs:do_image_complete \ > > Cheers > Andrea > > > [1] > http://cgit.openembedded.org/openembedded-cor

[yocto] Dependence from image type to image recipe

2017-02-20 Thread Viguera, Javier
Hi all, I need a bit of help to add a dependence from an image type to an image recipe that build and initramfs. A bit of background: I have an image type recovery.ubifs that boots using a ramdisk. The ramdisk is generated with a different image recipe (recovery-initramfs). So whenever I conf