mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Merge branch 'main' into refind
This commit is contained in:
commit
563e29e727
4 changed files with 15 additions and 5 deletions
|
|
@ -306,9 +306,9 @@ sgdisk -Zo "$DISK" &>/dev/null
|
|||
info_print "Creating the partitions on $DISK."
|
||||
parted -s "$DISK" \
|
||||
mklabel gpt \
|
||||
mkpart ESP fat32 1MiB 513MiB \
|
||||
mkpart ESP fat32 1MiB 1025MiB \
|
||||
set 1 esp on \
|
||||
mkpart CRYPTROOT 513MiB 100% \
|
||||
mkpart CRYPTROOT 1025MiB 100% \
|
||||
|
||||
ESP="/dev/disk/by-partlabel/ESP"
|
||||
CRYPTROOT="/dev/disk/by-partlabel/CRYPTROOT"
|
||||
|
|
@ -406,6 +406,10 @@ arch-chroot /mnt /bin/bash -e <<EOF
|
|||
# Generating locales.
|
||||
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.
|
||||
mkinitcpio -P &>/dev/null
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue