-
Notifications
You must be signed in to change notification settings - Fork 398
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
🐛 | bookworm: check for raspian not working #2402
Comments
This only seems to affect bookworm 64bit. bookworm 32 bit shows raspian, as usual. |
At this time 64bit is not supported (there's also a check for it). |
I know that (I had to bypass the check 😄 ), but I'm always interested in trying things out. ;-) |
I agree. We also happily discuss possible changes for a working 64bit implementation, so if anybody opens a PR with necessary changes interested people could review it. |
Yes, basically I just removed all checks in setup script. And then it's running as it should on 64bit. I probably should take the time to make a PR, but probably not before autumn, since in summer time i prefer to be outside in my free time ;) |
I can prepare a PR to lift the 64 bit restriction. It would only be a change in the I've found no other issues with 64 bit. The GPIO Problems with kernel 6.6 upwards mentioned in the other issue are not specific to 64 bit, but also affect 32 bit, right? So that wouldn't be a show stopper for lifting 64 bit restriction, I think. |
Yes, from my experience that's correct 👍 |
@mittler-works did you manage to create a PR for this? |
Sorry, that got lost in the daily grind. 😉 |
Thank you!
…On Mon, 16 Sept 2024 at 07:39, Nils Mittler ***@***.***> wrote:
Sorry, that got lost in the daily grind. 😉
I have just created the PR. 👋
—
Reply to this email directly, view it on GitHub
<#2402 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3HHMSWSWN6UBQBABJMWIK3ZWZ4JNAVCNFSM6AAAAABK2PG6EKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJSGEYTONBWGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
With pleasure :) But one other thing I would like to discuss: the error message you get when you are not on Raspberry Pi OS is not meaningful at all (see OP of this issue). The problem origins in getting the boot and cmdline file paths. When the raspbian check (maybe it should be Raspberry Pi OS Check today? Thats also the reason why there is not always "raspbian" in My proposal would be, that the function should write a meaningful error message to stderr and exit with non-zero exit code. I don't know if there is any kind of logger and/or exception handling implemented in the installer scripts. If not, it would be as easy as echoing to stderr and exit. |
yes, we do. please check here RPi-Jukebox-RFID/installation/install-jukebox.sh Lines 42 to 87 in f2a1730
|
Fixed in #2425 |
Version
3.5.3
Branch
future3/main
OS
Raspberry Pi OS Bookworm Lite
Pi model
Zero 2W
Hardware
No response
What happened?
When running the installer script, it fails saying
Where
<something>
is not always the same thing.I tracked it down, the problem is the check for Raspian here.
Newer releases of Raspberry Pi OS (bookworm) do not display
raspian
in/etc/os-release
no more, but justdebian
. So there is no way to really tell if we are on Raspberry Pi OS.I have found articles that propose to check the existence of
/etc/apt/sources.list.d/raspi.list
to determine if we are on Raspberry Pi OS. Although this is obviously not perfect either, it might be a better solution than consulting/etc/os-release
for the future.Logs
No response
Configuration
No response
More info
No response
The text was updated successfully, but these errors were encountered: