[yocto] Build appliance, qemux86-64, core-image-full-cmdline and ssh

Nathan Sowatskey nathan at nathan.to
Thu Jan 28 06:31:12 PST 2016


Hi

I am using the Yocto Build Appliance to build a image using a profile of qemux86-64, and recipe of core-image-full-cmdline.

I then sftp the image to my OSX environment and run it as shown below. That works fine, and I can log in as root.

I want to use ssh to connect to the image, but ssh does not seem to either running or even installed, as I don’t see /etc/init.d/ssh scripts.

I am clearly missing a trick here. 

Any ideas please?

Many thanks

Nathan

How I run the image is shown below. This is copied from the build appliance, and I confess that I don’t understand all of the options yet.

/usr/local/bin/qemu-system-x86_64 -kernel images/bzImage-qemux86-64.bin -net nic,model=virtio -drive file=images/core-image-base-qemux86-64.ext4,if=virtio,format=raw -show-cursor -usb -vga vmware -no-reboot -m 256 -serial mon:vc -serial null --append "vga=0 uvesafb.mode_option=640x480-32 root=/dev/vda rw mem=256M ip=10.41.136.130::10.41.136.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 "


—
Nathan John Sowatskey
Consulting Engineer - Programmable Infrastructure, DevOps, IoT and SDN
nathan at nathan.to
www.linkedin.com/in/nathandevops
XMPP: nathandotto at im.koderoot.net
Google: nathanjohnsowatskey at gmail.com
Skype: nathan_sowatskey
Twitter: NathanDotTo
GitHub: https://github.com/DevOps4Networks
http://www.kipling.org.uk/poems_if.htm




More information about the yocto mailing list