2010/1/28 Frans Meulenbroeks <[email protected]>: > install -m 0644 ${KERNEL_OUTPUT} > ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin > expands to > install -m 0644 arch/arm/boot/uImage > .../deploy/glibc/images/beagleboard/uImage-2.6.29-r51-beagleboard.bin > but of course arch/arm/boot/uImage does not exist since we are using packaged > staging so we get > the error: > install: cannot stat `arch/arm/boot/uImage': No such file or directory > This patch only installs if not using packaged staging > --- > classes/kernel.bbclass | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass > index 53ea252..fa48a43 100644 > --- a/classes/kernel.bbclass > +++ b/classes/kernel.bbclass > @@ -537,7 +537,9 @@ MODULES_IMAGE_BASE_NAME ?= modules-${PV}-${PR}-${MACHINE} > > do_deploy() { > install -d ${DEPLOY_DIR_IMAGE} > - install -m 0644 ${KERNEL_OUTPUT} > ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin > + if [ "$PSTAGING_ACTIVE" = "0" ]; then > + install -m 0644 ${KERNEL_OUTPUT} > ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin > + fi > package_stagefile_shell > ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin > > if [ -d "${PKGD}/lib" ]; then > -- > 1.6.4.2 > >
This patch supersedes the first one, which had junk added. Kudo's to the people in #oe who helped me getting this into a proper submission. Frans _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
