Hi,

Thanks for providing input. I would need to evaluate the modification required 
to override such thing. One quick query in the do_install() can we have the 
check as we do normally in the RPM spec file.
I mean to say %file and some logic like if this exist then execute a particular 
block. A post and prerun section. As what I can understand is that do_install 
or internally do_package generate its own SPEC file and create RPM.
Sorry for ask such thing as I am not able to find a document reference or an 
example which shows how we can achieve the same.

Thanks,
Abhinav
________________________________________
From: Burton, Ross [[email protected]]
Sent: Monday, February 02, 2015 10:44 PM
To: Bipnesh, Abhinav (Abhinav)
Cc: [email protected]
Subject: Re: [yocto] Need help for custom recipe

On 2 February 2015 at 16:54, Paul Eggleton 
<[email protected]<mailto:[email protected]>> wrote:
I'd have to say this is something we don't support. If you want to do this you
would need to disable the current packaging tasks and stage the package files
yourself, but that's going to take almost as much work as converting over your
postinstall scripts to be specified within the recipe. You would also lose all
of the package QA checks that we currently run.

If you *really* want to do this then you'll probably need a custom do_package 
to put the RPMs you've generated in the place that bitbake expects them, or 
maybe a custom do_deploy.  At this point you're subverting the system so you'll 
have to look at the default tasks to work out how they operate and how to 
replace them.

Ross
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to