Hi,
I have a recipe which uses the ssh fetcher:
SRC_URI = "ssh://username@sshserver/~/demo-${PV}.zip"
I'm trying to upgrade from pyro to rocko, and now I'm getting errors
ERROR: demo-2.0.47.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-XZhnQDkmvV"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export
PATH="/home/jdi/develop/yocto/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/jdi/develop/yocto/scripts:/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/usr/sbin:/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/usr/bin:/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/sbin:/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux
-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/bin:/home/jdi/develop/yocto/bitbake/bin:/home/jdi/develop/yocto/build/tmp/hosttools";
export HOME="/home/jdi"; scp -B -r username@sshserver/~/demo-2.0.47.0.zip
/home/jdi/develop/yocto/build/downloads/ failed with exit code 127, output:
/bin/sh: 1: scp: not found
Thus the PATH gets set to:
/home/jdi/develop/yocto/build/tmp/sysroots-uninative/x86_64-linux/usr/bin
/home/jdi/develop/yocto/scripts
/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi
/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot/usr/bin/crossscripts
/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/usr/sbin
/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/usr/bin
/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/sbin
/home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/demo/2.0.47.0-r0/recipe-sysroot-native/bin
/home/jdi/develop/yocto/bitbake/bin
/home/jdi/develop/yocto/build/tmp/hosttools
But none of these contain an scp binary. So I think scp needs to be added to
HOSTTOOLS.
Jef
Disclaimer
This e-mail and its attachments is intended only for the person(s) or entity to
which it is addressed. If you receive this e-mail by mistake, please delete
this e-mail from your system and destroy all copies of it. It may contain
confidential and/or privileged information. You should not copy it or use it
for any purpose nor disclose its contents to any person unless allowed by a
written document between the sender and the addressee.
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core