-
Notifications
You must be signed in to change notification settings - Fork 63
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
Building custom image fails with Pi-Gen #331
Comments
Did you run the script with sudo? |
Yes. All commands were run as sudo.
I don't have full logs because I shut down the VM for the day, but I can
get them early tomorrow
…On Sat, Feb 26, 2022, 12:42 PM Pete ***@***.***> wrote:
Did you run the script with sudo?
—
Reply to this email directly, view it on GitHub
<#331 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGKMVMFUX577S3L7DFYOXK3U5E3MLANCNFSM5PNRY7RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Tried a build and that happens in |
when i have more time, i'll try to debug and get pi-gen working (hopefully soon) |
Main reason is to get the access point off the network and general "just want to make it work" nerd stuff. I recall the build failing earlier on the default branch of pi-gen. I've got a couple of machines building the image right now. My investment in this point is just out of curiosity, |
This is running off of pi-gen -b Buster
This is pi-gen main branch. No modification on either end for the stage2/99-picobrewserver-setup |
From RPi-Distro/pi-gen#565, I think latest is bullseye - there's a comment there that says anything not that will take some modifications. I'm gonna run a build w/ it now, but probably won't check until tomorrow morning |
Also - it looks like bullseye has python 3.9 - you'll probably have to pull changes from |
I don't recall any changes we have made to the OS level that would require a new image. The only thing that could benefit from doing that the Bluetooth stuff now for Tilt support (used by subset of folks) and to prevent a year of git changes (not that we have a super large number of changes nowadays anyway) from being pulled and someone thinking the second boot takes 5+ minutes is "server is broken" type thing. Benefits from within Raspbian are the best things we would get from a new image which would be similar to doing things like You would likely get further by just making the systemd changes yourself @LMartinez-Py to |
True. For my purposes it would be best to make the changes to an already running installation. If for whatever reason a new build would needed we'd end up running into these problems so I figured it was good to share. |
Agreed. Thanks for taking a look and documenting what you ran into. 👍 |
Meantime you can simply check out the above sha. I verified today that our image can simply be built from that sha for verifying compatibility with the newer chips included in recently Pi 4 Model B boards. This was to fix another user's issue with starting up with a ~1yr old image... I call that success that we haven't had a need to release another software version in almost a year. #334 One of these days I'll get around to writing another 100,000 lines of code to force everyone to update again. 😜 ♾️ |
The way I see it @tmack8001 is you guys have done a remarkable job in building and setting up this project thank you for all of your hard work, dedication, and time you have devoted to helping people like me continue to brew beer after we were let down by a screwed up company. Thank you 🍺🍻🍺👍🍻 |
@LEFsher I've been able to build from pi-gen master. There was one modification I needed to make given the fact we explicitly want to remove I did however build a I have yet to test the image that I was able to build... as I don't have a spare SD card at the moment and thus would need to remove and re-image one of my existing ones, which isn't a big deal just didn't want to do with the short amount of time I had today. |
There are some test images uploaded to https://github.com/chiefwigms/picobrew_pico/releases/tag/untagged-63abf5fbf92dd8711684 for those that might have access to a unreleased release (maybe just @chiefwigms and I as "owner/contributor" people). I can look to upload else where if someone wants to test bullseye with their local setup. |
I used the recommended branch for the buster image. I'll try bullseye sometime tomorrow morning |
I've been able to get an image created, but did require a bit of fiddling around with dependencies... Will update this issue when identified what is the issue. |
I have an Ubuntu 20 system running on VM.
I ran the scripts as listed and I get a console error in Stage 2 when it is running the custom picobrew server setup.
Write after the echo for 'Making bluetooth accessible without being root...'
"unable to set CAP_SETFCAP effective capability: Operation not permitted"
Seems like this might be an issue with Pi-Gen and the suggestion there is to run it with QCow turned off on the Buster branch.
Commenting out the bluetooth code seems to work and create the image, but there is software missing. So I'm inclined to believe this is the offending block of code.
Can anyone recreate this?
The text was updated successfully, but these errors were encountered: