Moved ESP mount and boot artifact paths to /efi.
Audit / Package Resolution (push) Successful in 4s
CI / Linting (push) Failing after 3s

This commit is contained in:
2026-06-20 20:14:46 -04:00
parent 7cf6a2ba71
commit 9ee4df0166
4 changed files with 23 additions and 13 deletions
+4 -2
View File
@@ -21,7 +21,7 @@
# - Supports ext4, BTRFS, BTRFS with DUP, and BTRFS RAID1
# - Uses xxhash checksum for BTRFS filesystems
# - Mounts root with noatime and appropriate discard options
# - Mounts EFI partition at /boot with restrictive permissions
# - Mounts EFI partition at /efi with restrictive permissions
# Format a partition as FAT32 (for EFI)
# Arguments:
@@ -154,8 +154,10 @@ mount_root_filesystem() {
# $1 - EFI partition path
mount_efi_partition() {
local efi_partition="$1"
local efi_mount_target="${MOUNT_POINT}${EFI_MOUNT_POINT}"
run_visible_cmd mount --mkdir -o "fmask=0077,dmask=0077" "$efi_partition" "${MOUNT_POINT}/boot"
run_visible_cmd install -d -m 0700 "$efi_mount_target"
run_visible_cmd mount -o "$EFI_MOUNT_OPTIONS" "$efi_partition" "$efi_mount_target"
}
# Format and mount all filesystems