mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
Generate secureboot keys in arch-chroot
This commit is contained in:
parent
68ae9f69b7
commit
d246fd5f0f
1 changed files with 4 additions and 0 deletions
|
|
@ -411,6 +411,10 @@ arch-chroot /mnt /bin/bash -e <<EOF
|
||||||
# Generating locales.
|
# Generating locales.
|
||||||
locale-gen &>/dev/null
|
locale-gen &>/dev/null
|
||||||
|
|
||||||
|
# Create SecureBoot keys.
|
||||||
|
# This isn't strictly necessary, linux-hardened preset expects it and mkinitcpio will fail without it.
|
||||||
|
sbctl create-keys
|
||||||
|
|
||||||
# Generating a new initramfs.
|
# Generating a new initramfs.
|
||||||
mkinitcpio -P &>/dev/null
|
mkinitcpio -P &>/dev/null
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue