Skip to content

Discover TTM module in initramfs using dracut or mkinitcpio, not just initramfs-tools - #57

Merged
superm1 merged 1 commit into
superm1:masterfrom
Fjalar:master
Aug 16, 2026
Merged

Discover TTM module in initramfs using dracut or mkinitcpio, not just initramfs-tools#57
superm1 merged 1 commit into
superm1:masterfrom
Fjalar:master

Conversation

@Fjalar

@Fjalar Fjalar commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

The current version does not work for my system (CachyOS, arch-based) because it never tries to use mkinicpio for searching the initramfs image. This patch makes the tool work for me, and should also enable systems with dracut. I don't have a system with dracut, so if someone else could test that it would be appreciated.

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 44.73684% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.95%. Comparing base (a282daa) to head (03a3130).

Files with missing lines Patch % Lines
src/amd_debug/ttm.py 44.73% 17 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage   89.97%   89.95%   -0.03%     
==========================================
  Files          36       36              
  Lines        8979     8987       +8     
  Branches      793      797       +4     
==========================================
+ Hits         8079     8084       +5     
  Misses        700      700              
- Partials      200      203       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@superm1
superm1 merged commit acc8749 into superm1:master Aug 16, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants