Skip to content

fix(dracut.sh): skip README for AMD microcode generation #2544

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aafeijoo-suse
Copy link
Member

This file was added in https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/amd-ucode/README?id=89ec6198f13d1007563ff87aae5de209e993be07 and it should be skipped.

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Fixes #2541

@LaszloGombos LaszloGombos added the bug Our bugs label Oct 30, 2023
@LaszloGombos LaszloGombos requested a review from lnykryn October 30, 2023 14:19
@@ -2154,6 +2154,8 @@ if [[ $early_microcode == yes ]]; then
done
for i in $_fwdir/$_fw/$_src; do
[[ -e $i ]] || continue
# skip README{.xz,.zst,...}
str_starts "$i" "$_fwdir/$_fw/README" && continue

Choose a reason for hiding this comment

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

this just puts a bandage on a symptom of the problem, instead of fixing the actual problem: the proper way would be to only cat files that match the glob *.bin (for amd) or ??-??-?? (for intel)

Copy link

stale bot commented Apr 24, 2025

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

@stale stale bot added the stale communication is stuck label Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale communication is stuck
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AuthenticAMD.bin includes README, breaking early loading
5 participants