[yocto] Yocto root permission issue

Rohit2 Jindal rohit2.jindal at aricent.com
Wed Jun 19 02:51:37 PDT 2013


Hi,

I am facing issue in building sysconfig. Actually i want to compile everything with root permissions in yocto. Is there anything that supports it.

Eg say i have binary called build-ucore with root permission but i am not able to execute this binary using default yocto permissions in do_compile or do_configure
Can i change yocto default permission or run yocto with SU permissions .

Please help me out!

________________________________________
From: Richard Purdie [richard.purdie at linuxfoundation.org]
Sent: Friday, June 14, 2013 10:08 PM
To: Rohit2 Jindal
Cc: yocto at yoctoproject.org; yocto-owner at yoctoproject.org
Subject: Re: Recompile the recipe everytime

On Thu, 2013-06-13 at 20:54 +0530, Rohit2 Jindal wrote:
> Please help me out I am stuck in some issue, actually I want my recipe to do compilation everytime on every run of
>
> Bitbake linux-yocto
>
> ie can I remove stamping or sstate-cache that it allows me to run compilation everytime on every run of bitbake linux-yocto.
>
>
> I tried do_compile[nostamp] ="1" but it did not work but same thing worked for do_install[nostamp]="1"

If you just want to rerun the compilation:

do_compile[nostamp] = "1"

should do what you want, not sure why that wouldn't work.

bitbake linux-yocto -c compile -f

or

bitbake linux-yocto -C compile -f

are also commands which might help.

Cheers,

Richard




===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================



More information about the yocto mailing list