From cbd879a7caf2fe62a89de949f293ef1c0d94403a Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 9 Dec 2022 10:58:10 +0100 Subject: [PATCH] fix ucode part --- usr/lib/archboot/iso.sh | 4 ++-- usr/share/archboot/doc/archboot.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/lib/archboot/iso.sh b/usr/lib/archboot/iso.sh index af898d1ca..f07c83f91 100644 --- a/usr/lib/archboot/iso.sh +++ b/usr/lib/archboot/iso.sh @@ -85,11 +85,11 @@ _prepare_kernel_initramfs_files_RISCV64() { _prepare_ucode() { echo "Prepare ucode files ..." # install ucode files - [[ "${_RUNNING_ARCH}" == "aarch64" ]] || cp /boot/intel-ucode.img "${_ISODIR}/boot/" + [[ "${_RUNNING_ARCH}" == "x86_64" ]] || cp /boot/intel-ucode.img "${_ISODIR}/boot/" cp /boot/amd-ucode.img "${_ISODIR}/boot/" # fix license files mkdir -p "${_ISODIR}"/licenses/amd-ucode - [[ "${_RUNNING_ARCH}" == "aarch64" ]] || mkdir -p "${_ISODIR}"/licenses/intel-ucode + [[ "${_RUNNING_ARCH}" == "x86_64" ]] || mkdir -p "${_ISODIR}"/licenses/intel-ucode [[ "${_RUNNING_ARCH}" == "aarch64" ]] && cp -r /boot/dtbs "${_ISODIR}/boot/" cp /usr/share/licenses/amd-ucode/LICENSE.amd-ucode "${_ISODIR}/licenses/amd-ucode" [[ "${_RUNNING_ARCH}" == "x86_64" ]] || cp /usr/share/licenses/intel-ucode/LICENSE "${_ISODIR}/licenses/intel-ucode" diff --git a/usr/share/archboot/doc/archboot.html b/usr/share/archboot/doc/archboot.html index 75ed4775a..9ab47aa6b 100644 --- a/usr/share/archboot/doc/archboot.html +++ b/usr/share/archboot/doc/archboot.html @@ -618,7 +618,7 @@ initrd (loop)/boot/initramfs_x86_64.img -

2.8 Secure Boot support with shim package signed from fedora

+

2.8 Secure Boot MOK support with fedora's signed shim package