Skip to content

Commit c1a69b8

Browse files
committed
fix(dracut.sh): skip README for AMD microcode generation
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 #2541
1 parent b2af8c8 commit c1a69b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dracut.sh

+2
Original file line numberDiff line numberDiff line change
@@ -2154,6 +2154,8 @@ if [[ $early_microcode == yes ]]; then
21542154
done
21552155
for i in $_fwdir/$_fw/$_src; do
21562156
[[ -e $i ]] || continue
2157+
# skip README{.xz,.zst,...}
2158+
str_starts "$i" "$_fwdir/$_fw/README" && continue
21572159
# skip gpg files
21582160
str_ends "$i" ".asc" && continue
21592161
cat "$i" >> "$_dest_dir/${ucode_dest[$idx]}"

0 commit comments

Comments
 (0)