I did a git pull today and I can not build due to the following error:

 

NOTE: Running task 2693 of 3888 (ID: 334, /home/nik/development/embedded/openembedded/recipes/angstrom/angstrom-version.bb, do_install)

ERROR: function do_install failed

ERROR: log data follows (/home/nik/development/embedded/tmp/work/overo-angstrom-linux-gnueabi/angstrom-version-1_2010.7-test-20100809-r4/temp/log.do_install.18320)

| install: cannot stat `/home/nik/development/embedded/tmp/work/overo-angstrom-linux-gnueabi/angstrom-version-1_2010.7-test-20100809-r4/lsb_release': No such file or directory

NOTE: Task failed: /home/nik/development/embedded/tmp/work/overo-angstrom-linux-gnueabi/angstrom-version-1_2010.7-test-20100809-r4/temp/log.do_install.18320

ERROR: TaskFailed event exception, aborting

ERROR: Build of /home/nik/development/embedded/openembedded/recipes/angstrom/angstrom-version.bb do_install failed

ERROR: Task 334 (/home/nik/development/embedded/openembedded/recipes/angstrom/angstrom-version.bb, do_install) failed

NOTE: Tasks Summary: Attempted 2692 tasks of which 2629 didn't need to be rerun and 1 failed.

ERROR: '/home/nik/development/embedded/openembedded/recipes/angstrom/angstrom-version.bb' failed

nik@bobbob:~/development/embedded$ vi /home/nik/development/embedded/openembedded/recipes/angstrom/angstrom-version.bb

nik@bobbob:~/development/embedded$ cd /home/nik/development/embedded/openembedded/recipes/angstrom/

 

Is the use of ${D} correct here?  should it not create all this in the stage/work directory?  So should this be using ${WORKDIR}

 

do_install() {

        mkdir -p ${D}${sysconfdir}

        echo "Angstrom ${DISTRO_VERSION}" > ${D}${sysconfdir}/angstrom-version

        echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/angstrom-version

        echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/angstrom-version

        echo "Target system: ${TARGET_SYS}" >> ${D}${sysconfdir}/angstrom-version

 

        install -d ${D}${bindir}

        install -m 0755 ${WORKDIR}/lsb_release ${D}${bindir}/

}