-
Notifications
You must be signed in to change notification settings - Fork 402
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
base: master
Are you sure you want to change the base?
Conversation
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. Fixes dracutdevs#2541
2d41257
to
c1a69b8
Compare
@@ -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 |
There was a problem hiding this comment.
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)
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. |
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
Fixes #2541