On Saturday 30 March 2013 13:32:51 Ulf Samuelsson wrote: > Trying create a programming script recipe and need to find out the > IMAGE_BASENAME of the bitbake target > so I can get the filename of the image > > ${MACHINE}-${IMAGE_BASENAME}.ubi > > I.E: if I do > > $ MACHINE=beagleboard bitbake some-image > > and "some-image_1.0.bb" contains > > IMAGE_BASENAME = "renamed-image" > > Then the resulting image will be > > "beagleboard-renamed-image.ubi" > > How get this info from another recipe?
You can't. The way to handle this is as part of do_rootfs itself (e.g. from a script called from ROOTFS_POSTPROCESS_COMMAND or IMAGE_POSTPROCESS_COMMAND). Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel