mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix ucode part
This commit is contained in:
parent
1045d5bf22
commit
cbd879a7ca
2 changed files with 4 additions and 4 deletions
|
@ -85,11 +85,11 @@ _prepare_kernel_initramfs_files_RISCV64() {
|
||||||
_prepare_ucode() {
|
_prepare_ucode() {
|
||||||
echo "Prepare ucode files ..."
|
echo "Prepare ucode files ..."
|
||||||
# install 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/"
|
cp /boot/amd-ucode.img "${_ISODIR}/boot/"
|
||||||
# fix license files
|
# fix license files
|
||||||
mkdir -p "${_ISODIR}"/licenses/amd-ucode
|
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/"
|
[[ "${_RUNNING_ARCH}" == "aarch64" ]] && cp -r /boot/dtbs "${_ISODIR}/boot/"
|
||||||
cp /usr/share/licenses/amd-ucode/LICENSE.amd-ucode "${_ISODIR}/licenses/amd-ucode"
|
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"
|
[[ "${_RUNNING_ARCH}" == "x86_64" ]] || cp /usr/share/licenses/intel-ucode/LICENSE "${_ISODIR}/licenses/intel-ucode"
|
||||||
|
|
|
@ -618,7 +618,7 @@ initrd (loop)/boot/initramfs_x86_64.img
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</ul>
|
</ul>
|
||||||
<h3 data-number="2.8" id="secure-boot-support-with-shim-package-signed-from-fedora"><span class="header-section-number">2.8</span> <strong><span dir="">Secure Boot support with shim package signed from fedora</span></strong></h3>
|
<h3 data-number="2.8" id="secure-boot-support-with-shim-package-signed-from-fedora"><span class="header-section-number">2.8</span> <strong><span dir="">Secure Boot MOK support with fedora's signed shim package</span></strong></h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>Caveat:</strong>
|
<li><strong>Caveat:</strong>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -629,7 +629,7 @@ initrd (loop)/boot/initramfs_x86_64.img
|
||||||
<li>Please read <a href="https://www.rodsbooks.com/efi-bootloaders/secureboot.html#initial_shim"><strong>Roderick Smith’s guide</strong></a> first for initial shim setup.</li>
|
<li>Please read <a href="https://www.rodsbooks.com/efi-bootloaders/secureboot.html#initial_shim"><strong>Roderick Smith’s guide</strong></a> first for initial shim setup.</li>
|
||||||
<li>In order to boot in <a href="https://wiki.archlinux.org/title/Secure_Boot" title="Secure Boot"><strong>Secure Boot</strong></a> mode on first boot:
|
<li>In order to boot in <a href="https://wiki.archlinux.org/title/Secure_Boot" title="Secure Boot"><strong>Secure Boot</strong></a> mode on first boot:
|
||||||
<ul>
|
<ul>
|
||||||
<li>you need to add the <strong>hash</strong> of <strong>grub</strong> and <strong>kernel</strong> from disk: <strong>/EFI/BOOT/GRUB<arch>.EFI</strong> or <strong>/EFI/BOOT/VMLINUZ_<arch></strong> </li>
|
<li>you need to add the <strong>hash</strong> of <strong>grub</strong> and <strong>kernel</strong> from disk: <strong>/EFI/BOOT/GRUB<arch>.EFI</strong> and <strong>/EFI/BOOT/VMLINUZ_<arch></strong> </li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
<li>Tools included for key management: <strong>KeyTool, HashTool, mokutil, sbsigntools, sbctl</strong> and <strong>mkkeys.sh</strong></li>
|
<li>Tools included for key management: <strong>KeyTool, HashTool, mokutil, sbsigntools, sbctl</strong> and <strong>mkkeys.sh</strong></li>
|
||||||
<li>setup script supports the following <a href="https://wiki.archlinux.org/title/Secure_Boot" title="Secure Boot"><strong>Secure Boot</strong></a> layout:
|
<li>setup script supports the following <a href="https://wiki.archlinux.org/title/Secure_Boot" title="Secure Boot"><strong>Secure Boot</strong></a> layout:
|
||||||
|
|
Loading…
Reference in a new issue