Open oskardotglobal opened 1 month ago
@oskardotglobal I checked your repo, I have the suspicion that the qemu version of qemu-docker and the vm hiding software are different.
To your original pre-edit question: It's better for image size and build time reasons
@oskardotglobal I checked your repo, I have the suspicion that the qemu version of qemu-docker and the vm hiding software are different.
That doesn't really matter here, the built version will be preferred over the installed one because of path precedence.
If you check the log make fails with ERROR: Unrecognized host OS (uname -s reports 'Linux')
Which doesn't make any sense to me because the image actually runs Debian Trixie
So the OS should be recognized as Debian
@oskardotglobal this makes sense. Uname is not working inside docker. I found quite some stuff:
Debian seems to use a very generic uname data for docker.
Thanks, this helps a lot
However, the uname name comes from the runner which is actions in this case
However, the uname name comes from the runner which is actions in this case
Yeah, but you could overwrite it in the docker anyways. And I am not sure if its always the host uname. People reported different stuff, maybe its depenedent on the base image thats being used.
It couldn't be, because docker reuses the host kernel which is .. yk, the entire point of using docker
... The error comes from not having installed gcc
@oskardotglobal sorry for the comment deletion was a small accident on my mobile phone.
Oh by the way this is done already, I'd just have to add the new base image in the windows image
Then the only problem would be applying the QEMU XML config
Seems we can do that with https://libvirt.org/manpages/virsh.html#domxml-to-native
I've started working on incorporating https://github.com/zhaodice/qemu-anti-detection into the windows docker image. However, I can't quite seem to get QEMU to compile inside docker. See https://github.com/oskardotglobal/docker-qemu-anti-detection and https://github.com/oskardotglobal/docker-qemu-anti-detection/actions/runs/9178044026/job/25237029138