On Monday, July 15, 2013 12:41:20 PM UTC+2, pancake wrote:
> In build/core/main.mk I see this:
> 
> 
> 
> ifneq (,$(user_variant))
> 
>    # Target is secure in user builds.
> 
>    ADDITIONAL_DEFAULT_PROPERTIES += ro.secure=0
> 
> 
> 
> which looks wrong to me, because ro.secure=1 if variant=user (not in 
> 
> case of userdebug VARIANT..)
> 
> 
> 
> I tried doing the change, but didnt seemed to work, maybe i had to clean 
> 
> before.. and i dont have such a powerful box to do full builds all the 
> 
> time. Can anyone confirm?
> 
> 
> 
> I have created this issue to keep track
> 
> 
> 
>    https://bugzilla.mozilla.org/show_bug.cgi?id=893712
> 
> 
> 
> So, finally I decided to push setpropx and restart adbd to get a 
> 
> non-root shell and test the stuff i wanted...
> 
> 
> 
> 
> 
> On 07/15/13 09:56, pancake wrote:
> 
> > How can I do a build of b2g where adb runs as non-root? like any
> 
> > commercial non-rooted phone?
> 
> >
> 
> > I tried with VARIANT=user, but this only removes the debug apps of the
> 
> > Gaia build and I supose b2g bin is stripped, but adb still runs as root.
> 
> >
> 
> > Thanks
> 
> > _______________________________________________
> 
> > dev-b2g mailing list
> 
> > [email protected]
> 
> > https://lists.mozilla.org/listinfo/dev-b2g
> 
> >

Does PRODUCTION=1 do something magical? I've seen it sometimes.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to