On 02/16/2013 07:51 AM, Takeshi Hamasaki wrote:

if I do

     bitbake package-index

it crashes with the message

     | /bin/bash: opkg-make-index: command not found

This is on a 64 debian machine, possibly the wrong path is searched?
(there is a opkg-make-index under sysroots/x86_64-linux/usr/bin)



If you doubt the PATH setting, you should check the output from:
$ bitbake -e | grep '^export PATH'


Well opkg-make-index is in the path.

Something strange is happening here.
If I edit package-index.bb and add a call to opkg-make-index

   do_package_index() {
        set -ex
   opkg-make-index   ### ADDED CODE
        ${PACKAGEINDEXES}
        set +ex
   }


it shows an error message when invoking bitbake package-index showing that opkg-make-index is actualy working...

   ///
   
.../build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/opkg-make-index
   [-h] [-s] [-m] [-l Packages.filelist] [-p Packages] [-r
   Packages.old] [-L localesdir] [-v] packagesdir
   NOTE: package package-index-1.0-r0: task do_package_index: Failed
   ///

Any idea?



_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to