-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Don't let udev reload cause the installation to fail #187
base: main
Are you sure you want to change the base?
Conversation
This may need to be applied to |
I was just wondering, why my Vanilla OS image still doesn't want to build xD |
https://github.com/marvin-te/vanillaos/actions/runs/10493124757/job/29066330762#step:10:1246 Works as expected (image build still fails, though because of another, unrelated package) |
Thanks, have you done any install checks on RPM based distros with these changes? I'm not in a position where I can easily test the builds, and obviously want to avoid pushing something which isn't tested. |
Hi @FrostyCoolSlug, I understand. Sadly though I do not have a full RPM based system at hand either. I tried to install it inside a container in Vanilla OS, which worked fine. Since these don't have udev either, the error message introduced in this PR appeared as expected. Thus I could not check if the udev-reload itself still works, though. But I cannot see any reason why it shouldn't. Hope this helps. If further testing is needed, I hope someone can try to install the .rpm from this PR on bare metal. A pre-built one can be found on the release page of my fork: goxlr-utility-1.1.2-1.x86_64.rpm Full shell transcript from testing:
|
This is more or less a follow up to my PR #128 from almost a year ago.
I encountered different occasions, where trying to reload the udev rules fails. Most package managers will cancel the whole installation when this happens, which is not always the right thing to do in such case.
This PR broadens the failure tolerance from "only OSTree-based systems don't need a udev reload" to "if it works, it works, if not, ¯\(ツ)/¯"
The reason behind this proposed change is this error when installing GoXLR Utility in my custom Vanilla OS image: https://github.com/marvin-te/vanillaos/actions/runs/10491093490/job/29059376736#step:10:1257