Is anybody able to actually BUILD the Angstrom release?

Cliff Brake cliff.brake at gmail.com
Fri Dec 19 21:43:06 UTC 2008


On Fri, Dec 19, 2008 at 4:34 PM, David Hagood <david.hagood at aeroflex.com> wrote:
> On Fri, 2008-12-19 at 16:16 -0500, Cliff Brake wrote:
>> The latest versions of bitbake clean your env to keep host env
>> variables from contaminating the build environment.  If you following
>> the wiki page exactly, it will work.  Otherwise, you need to
>> whiltelist all of the above vars.
> I'm not sure I understand. If bitbake wipes out all variables other than
> CACHE, BBPATH, and BBFILES, that is fine - the other variables are only
> used to me to make a single change to alter the location of the various
> parts (normally, I have a script I source to set everything up. For the
> purposes of troubleshooting I am manually executing everything the
> script does).

This is the list of vars BB preserves by default:

def preserved_envvars_list():
    return [
        'BBPATH',
        'BB_PRESERVE_ENV',
        'BB_ENV_WHITELIST',
        'BB_ENV_EXTRAWHITE',
        'COLORTERM',
        'DBUS_SESSION_BUS_ADDRESS',
        'DESKTOP_SESSION',
        'DESKTOP_STARTUP_ID',
        'DISPLAY',
        'GNOME_KEYRING_PID',
        'GNOME_KEYRING_SOCKET',
        'GPG_AGENT_INFO',
        'GTK_RC_FILES',
        'HOME',
        'LANG',
        'LOGNAME',
        'PATH',
        'PWD',
        'SESSION_MANAGER',
        'SHELL',
        'SSH_AUTH_SOCK',
        'TERM',
        'USER',
        'USERNAME',
        '_',
        'XAUTHORITY',
        'XDG_DATA_DIRS',
        'XDG_SESSION_COOKIE',
    ]

You can extend with BB_ENV_EXTRAWHITE.  I think Philip is correct
about the '_' issues, but I don't recall the details without digging
in some maillists.

Cliff


-- 
=======================
Cliff Brake
http://bec-systems.com




More information about the Openembedded-users mailing list