RobertCNelson / omap-image-builder

omap image builder
http://elinux.org/BeagleBoardUbuntu
MIT License
153 stars 200 forks source link

Will not run from Debian #203

Closed jeanparpaillon closed 2 years ago

jeanparpaillon commented 2 years ago

When running from Debian RootStock-NG.sh fails installing dependancies.

In scripts/install_dependencies.sh, it looks for qemu package, which is a Ubuntu metapackage and does not exist on Debian.

Depending on qemu-system-arm solves the issues on Debian. The package also exists on Ubuntu.

RobertCNelson commented 2 years ago

They must have dropped this for Bookworm/Sid.. ;)

https://packages.debian.org/bullseye/qemu

Thanks

jeanparpaillon commented 2 years ago

@RobertCNelson actually, they have made it a virtual package (provided by 'qemu-system-*') so it won't be listed with dpkg -l neither can be installed through apt install qemu

jeanparpaillon commented 2 years ago

As far as I know, there is no easy way to check if a virtual package is actually 'installed' :/ https://askubuntu.com/questions/679137/how-to-check-if-a-virtual-package-is-installed

jeanparpaillon commented 2 years ago

My bad, this is not even a virtual package, but a dummy one. I have no idea how to deal with that :)

RobertCNelson commented 2 years ago

The binary's we really want is..

/usr/bin/qemu-arm-static
/usr/bin/qemu-aarch64-static
/usr/bin/qemu-riscv64-static

qemu-user-static, should be safe for all 'lts' versions of ubuntu and debian now right?

https://packages.debian.org/unstable/qemu-user-static

Regards,

jeanparpaillon commented 2 years ago

tbh, I don't really know the difference between qemu-user-static and other qemu-*-static From the package name point of view, however, qemu-user-static seems a good fit

Thanks!