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

fix: Framework 13 AMD support #2139

Merged
merged 1 commit into from
Jan 11, 2025
Merged

Conversation

ledif
Copy link
Contributor

@ledif ledif commented Jan 11, 2025

See ublue-os/aurora#106.

Two issues with the system setup script:

  1. $SYS_ID is not defined anywhere, so we never actually take the branch to compare the product name.

  2. I'm assuming $SYS_ID is supposed to be defined as the contents of /sys/devices/virtual/dmi/id/product_name, which is from Bazzite's /usr/libexec/hwsupport/sysid. This string is something like Laptop 13 (AMD Ryzen 7040Series) which doesn't match the regex Laptop (*.

I discovered this when I noticed that I didn't have any of these tweaks on my Framework 13 (with Aurora). I checked the first log entry for ublue-system-setup.service and it completed succesfully, but the script didn't take the correct branch and apply the tweaks because of the above issues.

@ledif ledif requested a review from castrojo as a code owner January 11, 2025 05:48
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. framework Issue specicifc to Framework laptops labels Jan 11, 2025
Copy link
Member

@castrojo castrojo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! cc @tulilirockz let's make sure this ends up in the right rpm or wherever. hah.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 11, 2025
@castrojo castrojo added this pull request to the merge queue Jan 11, 2025
Merged via the queue into ublue-os:main with commit 9e43315 Jan 11, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework Issue specicifc to Framework laptops lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants