need help with build console-image

Hello,
I follow the BeagleBoardAndOpenEmbeddedGit document and got stuck when I try to build the console-image. This is the error I received:

~/oe$ bitbake console-image
ERROR: opening $OE_HOME/openembedded/packages//.bb: file $OE_HOME/openembedded/packages//.bb not found

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200902072359: started
sh: line 0: cd: /openembedded/: No such file or directory
fatal: Not a git repository
sh: line 0: cd: /openembedded/: No such file or directory
fatal: Not a git repository

OE Build Configuration:
BB_VERSION = “1.8.13”
METADATA_BRANCH = “”
METADATA_REVISION = “”
TARGET_ARCH = “arm”
TARGET_OS = “linux-gnueabi”
MACHINE = “beagleboard”
DISTRO = “angstrom”
DISTRO_VERSION = “2009.X-test-20090208”
TARGET_FPU = “hard”

ERROR: Nothing PROVIDES ‘console-image’

I use git to load openembedded and there is nothing wrong in those steps.
Could you please tell me what is my problem?
Best regards,
Thang Nguyen

This is my additional information:

This is my export commands:
export OE_HOME=$HOME/oe
export BBPATH=$OE_HOME/beagleboard/:$OE_HOME/beagleboard/beagleboard/:$OE_HOME/openembedded
export BBFILES=$OE_HOME/openembedded/packages//.bb
export PATH=$OE_HOME/opt/bitbake/bin:$PATH

and my “local.conf”
BBFILES = “$OE_HOME/openembedded/packages//.bb”
DISTRO = “angstrom-2008.1”
MACHINE = “beagleboard”
TMPDIR = “$OE_HOME/tmp”
ENABLE_BINARY_LOCALE_GENERATION = “0”

Best regards,
Thang Nguyen

I was able to get bitbake to start by replacing $OE_HOME with the
actual directory in local.conf i.e.

BBPATH=/home/me/oe/beaglboard .....
TEMPDIR=/home/me/oe/tmp

Question: Can enviroment varibles be used in the local.conf file?

Only if you whitelist them first:

export BB_ENV_EXTRAWHITE="MACHINE DISTRO ANGSTROM_MODE ANGSTROMLIBC OE_HOME"

Recent versions of bitbake clean the environment to get a more deterministic build process, so you have to whitelist vars you want to know it about

regards,

Koen

Hi,
Thank for this information. Now I understand the problem. But could you please tell me what does whitelist mean and how to do that? Should I use this before run bitbake or I can write it to my bash.bashrc file as other export command?
Currently I still use the direct path.
I ask this because I am still not good enough with linux ^_^.
Thanks
Thang Nguyen

Hi,
Thank for this information. Now I understand the problem. But could you
please tell me what does whitelist mean and how to do that? Should I use
this before run bitbake or I can write it to my bash.bashrc file as other
export command?

Just export your environment variable look like bellow:

export BB_ENV_EXTRAWHITE="MACHINE DISTRO ANGSTROM_MODE ANGSTROMLIBC
OE_HOME"

Or add the line into ${OE_HOME}/beagleboard/beagleboard/profile.sh,
then run

$ chmod ug+x ${OE_HOME}/beagleboard/beagleboard/profile.sh
$ source ${OE_HOME}/beagleboard/beagleboard/profile.sh