-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
The android udev rules need to be updated #1478
Comments
Hello, Android udev rules are located here: |
It's just 3 commits behind, oppositely of what the version indicates, since maintainers didn't touched that. But the build in COPR was built 9 months ago, so just a merge of those 3 new commits & build trigger should solve the issue. |
Thank you @fiftydinar I will take a look at fixing these issues. |
I created the pull request here: ublue-os/android-udev-rules#5 But as you pointed out the version of the android-udev-rules in the ublue repo was already newer than what I see on the latest ublue image. Please advise how I can initiate a build of COPR after the pull request is accepted by a maintainer. Thank you! |
@mbruzek Unfortunately, only certain Universal Blue maintainers have access to ublue-os/staging COPR repo, where Android udev rules reside. So build can be pushed by them only. |
This looks good to go? |
@castrojo just looking at the COPR, package is still not rebuilt. Meanwhile, I will manually update the rule in my image. |
Now package rebuilt, so this issue is now officially solved |
I shouldn't have reopened this as it was correctly closed back in July. Since then there were more updates in the upstream android-udev-rules and a PR was opened: ublue-os/android-udev-rules#8 I've merged that and will rebuild the COPR. |
Reopening, because commit needs to be merged, which updates RPM version & then rebuild in COPR needs to be triggered. When same RPM version is used for multiple builds, it can happen that you don't get the latest build. |
We sorted this didn't we? |
Now it's sorted |
Describe the bug
I was reviewing the boot logs for my ublue latest image on 07/01 and I saw some errors in the logs:
It seems the file 51-android.rules contains some errors. I inspected this file and all the lines with errors have "inline" comments. I don't think they are supported.
I tried to find the source file in the ublue-os repositories but I was unsuccessful. I did find an issue about this same problem that was fixed back on Nov 3, 2023.
M0Rf30/android-udev-rules#287
Please help me find where we get the 51-android.rules file in this repo and I would be happy to remove the inline comments to fix this issue. If we are pulling it from somewhere else, the latest file here: https://github.com/M0Rf30/android-udev-rules/blob/main/51-android.rules does NOT have any inline comments.
I am happy to submit a fix to resolve this issue, but I can not determine where we get the 51-android.rules udev configuration from. Please point me in the right direction and I will do my best to resolve.
Thank you.
What did you expect to happen?
I expected the udev rules that we are using to not generate errors when getting parsed.
The latest 51-android.rules file here: https://github.com/M0Rf30/android-udev-rules does not contain inline comments.
Output of
rpm-ostree status
State: idle AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot Deployments: ostree-image-signed:docker://ghcr.io/ublue-os/bluefin:latest Digest: sha256:cbae715dd100fff19b642a60e06d1c261fa7117223afafd53e7c45f35bd94cce Version: 40.20240702.0 (2024-07-02T04:54:50Z) Diff: 9 upgraded ● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin:latest Digest: sha256:d8d55f5f27490f47a9e4f1a6b8ada06d4d9dc7cbb497f4baf3f96c7a20fe378d Version: 40.20240701.0 (2024-07-01T21:39:54Z) ostree-image-signed:docker://ghcr.io/ublue-os/bluefin:latest Digest: sha256:e7d4f63d35c1cd1232d831dcba6be611180b50a1fc260471ef5655067c1619af Version: 40.20240617.0 (2024-06-17T20:07:42Z)
Output of
groups
Extra information or context
No response
The text was updated successfully, but these errors were encountered: