[yocto] Graceful continue if some recipe has error

Bipnesh, Abhinav (Abhinav) abhinavbipnesh at avaya.com
Mon Feb 16 09:42:02 PST 2015


Hi,

I am using python function as below
python __anonymous () {
    origenv = d.getVar("BB_ORIGENV", False)
. . .
}

Thanks,
Abhinav

-----Original Message-----
From: Paul Eggleton [mailto:paul.eggleton at linux.intel.com] 
Sent: Monday, February 16, 2015 23:10
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Graceful continue if some recipe has error

Hi Abhinav,

On Monday 16 February 2015 17:05:32 Bipnesh, Abhinav wrote:
> We have written recipe for our application which reads some 
> environment variables and follow a path. But if these variables are 
> not set then recipe parsing results into error. So I was looking if we 
> can have some way for a graceful continuation. As we want if those 
> variables are set then it bitbake should continue with rest of 
> building. So is there way we can achieve the same.

Depends, how are you reading the variables? From python or shell?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list