-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble running the image-builder #210
Comments
Hi @orgua sorry, at one time we did have a dependency check, but debootstrap is actually common on non-debian systems, so it was decided to not try to do every combination.. now days i'm having too much fun on other arch's, i don't think i'll actually finish the 22.04/jammy (ARMHF) bits.. |
Ok, so no official jammy. But I still fail to run the default script for Ubuntu 20.4.5 following the readme. It always fails in the chroot.sh line 287
I tried several distros in WSL as host:
By reading through the web (looking for fixes for the error-message) I got to collect several packages for pre-install:
The error is still present. Could you please hint me a possible solution? The build-server is clearly producing images :) |
are you running in WSL (1) or WSL (2) mode, WSL 2 provides a better linux internal vm.. ps, sorry i haven't tried this script personally on wsl.. running the debootstrap step should be the easiest for wsl to do, afterwards i'd fully expect it to barf on the bind mount and chroot into the qemu- |
Yes it was indeed WSL1, but after updating to WSL 2 it still fails :) One more question if I may: Now that there is an riscv64-ubuntu23.04 on the image-server and the rcn-ee apt repo also has jammy-support -> Would it be feasible to compile a working BB Black image by just adapting the focal-config? |
yeah, i think that would work, just the biggest issue, these might now all be built yet for jammy.. |
awesome spidersenses! Thats exactly where its failing. some of these packages you pointed out are in the repo, but most of them aren't.
Some fallback to focal would suffice. I did an ubuntu-upgrade once - it took forever on the BB - but the new software-versions brought a significant and much needed speed improvement for us. BTW: is that line a possible bug? I tried adding it to jammy, but there are only debian-source in it. |
Oh that line is only for arm64/riscv64 debian.beagleboard.org is not a full mirror of rcn-ee.net (the armhf has a large history, no reason to mirror that when we enabled the BeagleV project and then the TI bbai64 project)... Regards, |
main issue resolved as it was WSL-related |
Is there more info about running the scripts to build your own image for the BBB?
As the rcn-ee apt repo seems to support ubuntu 22.04 / jammy, I wanted to create a test-image but already failed at the default ubuntu image instructions given in the readme:
git clone https://github.com/RobertCNelson/omap-image-builder cd ./omap-image-builder ./RootStock-NG.sh -c rcn-ee.net-console-ubuntu-focal-v5.10-ti-armhf
As debian-based linux as a host seems tested, I tried to run it on ubuntu 20.04 and and 22.04 without success:
I found one undocumented prereq I had to install:
is there more? I looked through all directories, saw the jenkins-files and the ./docs, but could not find helpful information.
The text was updated successfully, but these errors were encountered: