-
Notifications
You must be signed in to change notification settings - Fork 2
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
Root FS Builds with Ubuntu 20.04 #19
Conversation
In particular, we are using avahi for mDNS, balena-io wifi-connect for managing the wifi connection process, and we are using a ralink wifi adapter that needs firmware files to be installed. Co-authored-by: Jevitate <55113801+Jevitate@users.noreply.github.com>
…-arm-static Suddenly, chrooting into the armhf rootfs is not working in WSL 2 (using the Linux filesystem) or in Docker on Arch Linux. Explicitly enabling ARM emulation lets QEMU automatically choose to use ARM emulation when executing ARM binaries. This commit makes chrooting works in WSL 2 and Docker.
Created Service for Web App and Deployment Manager Updated the Packaging to Copy, Install, and Uninstall new services
Added as Enhancement Issue #22 |
I didn't have a proper Ubuntu machine to test on, but I imagine it still works fine since that's what I originally developed on. Either way, docker handles any OS so it doesn't matter. |
Jenkins is currently building on Ubuntu 20.04 with Docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 💯
Did you try running it directly through WSL on the Windows filesystem or the WSL filesystem? It will fail running it directly on the Windows filesystem because it can't handle the chroot properly. I recall getting errors in that same area but I don't know if they were the exact same error from running it on the Windows filesystem. Edit:
Just saw you posted this, that is almost certainly the issue. |
I agree and needing to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Just built it in the WSL filesystem -- worked flawlessly. I now recall @fe-wickham mentioning chroot issues in the Windows filesystem before... I can also confirm that the frost-edge deb download worked, and there was no need to run dos2unix on a fresh clone, so the eol conversions seemed to work as well. It's beautiful! 🥳 |
I did get an npm error about certificates, though -- not sure if it's actually important:
I also get some warnings around sudo when the wifi-connect installer runs:
I suspect this is because we are running as root, so sudo doesn't really make sense. This isn't really an issue, but we could squelch that warning by using sed to remove |
|
Interesting, I am getting them in the docker build and the WSL build. It appears to be solved by
I am out of town, so I do not currently have an audio mini with me to test with.
We don't, but Balena's install script that we download does. |
Updated the Frost Edge Package on S3.
|
…m the rootfs to somewhere else in it
…to be copied in after setup
Updated Root FS to Ubuntu 20.04 - Closes #15
Automatically adds Frost Edge and the supporting packages
Closes #22