Skip to contentSkip to conversation

should list of "Variable Flags" include "fakeroot"?

DISCUSSION Robert P. J. Day 2 participants 3 messages Jul 9, 2014

lore
Share & tools
lore
#0 lore raw

user manual, "3.6 Variable Flags" includes "fakeroot" as one of the
numerous flags, but that section claims that all of those flags can be set using the standard variable syntax. but IIRC, fakeroot is set as an *attribute* on tasks these days, as in:

  fakeroot tar_sdk() {

so how should that entry be worded/reworded? unless i'm misreading something.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 10 lines · Robert P. J. Day

user manual, "3.6 Variable Flags" includes "fakeroot" as one of the
numerous flags, but that section claims that all of those flags can be set using the standard variable syntax. but IIRC, fakeroot is set as an *attribute* on tasks these days, as in:

  fakeroot tar_sdk() {

so how should that entry be worded/reworded? unless i'm misreading something.

It likely shouldn't be mentioned as a flag. The fact that it's a flag internally is a bitbake implementation detail that likely isn't something they need to be aware of, in my personal opinion, anyway.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#2 lore raw
Quoted 9 lines · Christopher Larson

On Wed, Jul 9, 2014 at 6:38 AM, Robert P. J. Day <[email protected]> wrote:
  user manual, "3.6 Variable Flags" includes "fakeroot" as one of the numerous flags, but that section claims that all of those flags can be set using the standard variable syntax. but IIRC, fakeroot is set as an *attribute* on tasks these days, as in:

  fakeroot tar_sdk() {

Quoted 7 lines

so how should that entry be worded/reworded? unless i'm misreading something.

It likely shouldn't be mentioned as a flag. The fact that it's a flag internally is a bitbake implementation detail that likely isn't something they need to be aware of, in my personal opinion, anyway.

that's the way i read it ... all the underlying support code still
treats it as a "flag", but since i see no usage of it with the flag syntax, i'll just submit a patch to delete it from the flag list, assuming it's discussed adequately elsewhere.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================