Linutronix / elbe

Embedded Linux Build Environment
https://elbe-rfs.org
GNU General Public License v3.0
170 stars 59 forks source link

Building an ARM distribution without KVM installed #326

Closed sureshjoshi closed 2 years ago

sureshjoshi commented 2 years ago

I've been testing ELBE on the build machines I've already provisioned on which I create my embedded linux distributions (Buildroot or Yocto via Docker), and I wanted to try ELBE as a comparison.

Unfortunately, I've been unable to get anywhere so far.

My build machines do not have KVM extensions, so I cannot use libvirt or kvm. Running elbe initvm create ... fails on a libvirtError about not being able to connect to the socket (because it doesn't exist), and the Docker container fails out earlier on the kvm check.

I tried creating a DigitalOcean droplet, but it has the same KVM nested virtualization problem.

I saw another issue about using the daemon directly, however when I try running elbe daemon --soap, I get consecutive Python ModuleNotFoundErrors. I try to get past them one at a time, but I'm eventually stuck on no module named parted.

If I can successfully get Debian installation working with my custom Linux kernel, I'll definitely buy a hardware box for this - but until now, it's been unnecessary.

Does anyone have any recommendations of what I could try?

bgermann commented 2 years ago

You need to install python3-elbe-daemon and python3-elbe-soap when you want to run the daemon on a machine. Then you should not have module errors.