ALT Linux Bugzilla
– Attachment 9618 Details for
Bug 40790
Прерывается создание initramfs на AMD Zen3 fam19h из-за отсутствия файла с микрокодами
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч для фичи add-ucode
0001-tools-add-ucode-do-not-fail-on-AMD-ucode-file-absenc.patch (text/plain), 963 bytes, created by
Николай Костригин
on 2021-08-20 16:27:50 MSK
(
hide
)
Description:
патч для фичи add-ucode
Filename:
MIME Type:
Creator:
Николай Костригин
Created:
2021-08-20 16:27:50 MSK
Size:
963 bytes
patch
obsolete
>From 621c9f164be175f256b761770d8f6ae21343770d Mon Sep 17 00:00:00 2001 >From: Nikolai Kostrigin <nickel@altlinux.org> >Date: Fri, 20 Aug 2021 15:08:07 +0300 >Subject: [PATCH] tools/add-ucode: do not fail on AMD ucode file absence > >The problem was revealed by new Zen3 (fam19h) computers being >present on the market while ucode update is not provided for them yet. >--- > make-initrd/features/ucode/bin/add-ucode | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/make-initrd/features/ucode/bin/add-ucode b/make-initrd/features/ucode/bin/add-ucode >index 75312ab..556b175 100755 >--- a/make-initrd/features/ucode/bin/add-ucode >+++ b/make-initrd/features/ucode/bin/add-ucode >@@ -46,8 +46,11 @@ prep_early_firmware() > fi > done > >- [ -n "$fw_file" ] || >- fatal "$fw not found" >+ [ -n "$fw_file" ] || \ >+ { >+ verbose "$fw not found. Microcode update unavailable." >+ return 0 >+ } > > cd "$workdir" > mkdir -p kernel/x86/microcode >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40790
: 9618