Skip to content
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

Add upower and dependencies #786

Draft
wants to merge 18 commits into
base: testing
Choose a base branch
from
Draft

Add upower and dependencies #786

wants to merge 18 commits into from

Conversation

Eeems
Copy link
Member

@Eeems Eeems commented Dec 12, 2023

https://upower.freedesktop.org/

Unfortunately, due to how the toolchain currently is set up, I've had to install libglib and libgudev to their own folders as they contain libraries that are already provided in the base OS, or in entware. We'll have to sort out a better longer term solution for this.

This also introduces a change to toltec-base to load dbus configuration from /opt/share/dbus-1, and updates tarnish to use the new location.

@Eeems Eeems added the packages Add or improve packages of the repository label Dec 12, 2023
@Eeems
Copy link
Member Author

Eeems commented Dec 26, 2023

@raisjn do you have any opinions on this? I don't completely feel great about providing libraries a second time, but I don't really see a way around it right now with the deficiencies in the toolchain, as well as the issue we have trying to link against the glibc that comes with the device, but putting our executables and libraries in /opt alongside entware packages that link against entware's glibc version.

raisjn
raisjn previously approved these changes Jan 8, 2024
@raisjn
Copy link
Contributor

raisjn commented Jan 8, 2024

this is fine with me, I don't have a strong opinion on the libraries. when it comes up again, we can think about how to address it properly.

@Eeems
Copy link
Member Author

Eeems commented Jan 8, 2024

Thanks! I'm leaving this in draft until it can be tested on a rM2, as I'm concerned that it may not work as expected due to the testing with udev I did in the past for oxide: Eeems-Org/oxide#280 (comment)

@Eeems
Copy link
Member Author

Eeems commented Apr 9, 2024

It looks like this is no longer working as expected on 3.x. I'm not entirely sure what the issue is, but the only thing I'm seeing in the log is name lost, exiting. So this might be related to dbus.

@Eeems
Copy link
Member Author

Eeems commented Sep 15, 2024

The build The build seems to have broken since the build system switched to toltecmk. I'm not sure what the issue is though, as only the final udev package fails, and I've confirmed that the files it's expecting are in place before the build code in the recipe is called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages Add or improve packages of the repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants