On 01/08/2014 22:55, Richard Purdie wrote: > On Fri, 2014-08-01 at 15:13 +0100, Alex J Lennon wrote: >> Getting some errors here having followed the "Using Scripts" section. >> >> I am guessing it might be as I'm using Ubuntu 14.04 LTS x64 >> >> This is for MACHINE=genericx86 >> >> e.g. >> >> | make[3]: Leaving directory >> '/home/ajlennon/yocto/poky/build/tmp/work/x86_64-linux/rpm-native/git-r0/git/plugins' >> | make[2]: Leaving directory >> '/home/ajlennon/yocto/poky/build/tmp/work/x86_64-linux/rpm-native/git-r0/git/plugins' >> | make[1]: Leaving directory >> '/home/ajlennon/yocto/poky/build/tmp/work/x86_64-linux/rpm-native/git-r0/git' >> | install: cannot stat 'scripts/find-supplements{,.ksyms}': No such file >> or directory >> | WARNING: exit code 1 from a shell command. >> | ERROR: Function failed: do_install (log file is located at >> /home/ajlennon/yocto/poky/build/tmp/work/x86_64-linux/rpm-native/git-r0/temp/log.do_install.2441) >> ERROR: Task 99 >> (virtual:native:/home/ajlennon/yocto/meta-tizen/recipes-tizen/rpm/rpm_git.bb, >> do_install) failed with exit code '1' > Its because there are bashisms in that metadata and you have dash > as /bin/sh. > > I've already mentioned this at least once but have been ignored :( >
Yes, thanks Richard, I'd cracked onto that. I wonder if it would be useful/possible to add a class of warning to bitbake "Bashism detected" or some such? Next problem is that grub on my x64 system doesn't seem to like being used to install x86 files ... :) Cheers, Alex -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto