On Thu, Nov 14, 2013 at 07:15:31PM +0100, Thomas Bächler wrote:
Installing EFI bootloaders during pacstrap is broken right now, as is installing manually in arch-chroot. Therefore, mount efivarfs if the host kernel supports it. ---
Thanks, I pushed a different version of this patch which uses a new convenience function I added, mount_conditionally: https://projects.archlinux.org/arch-install-scripts.git/commit/?id=8f2bd395e https://projects.archlinux.org/arch-install-scripts.git/commit/?id=c746f87fc
common | 1 + 1 file changed, 1 insertion(+)
diff --git a/common b/common index 950b452..2078b56 100644 --- a/common +++ b/common @@ -66,6 +66,7 @@ api_fs_mount() { { mountpoint -q "$1" || track_mount "$1" "$1" --bind; } && track_mount proc "$1/proc" -t proc -o nosuid,noexec,nodev && track_mount sys "$1/sys" -t sysfs -o nosuid,noexec,nodev && + { [[ -d "$1/sys/firmware/efi/efivars" ]] && track_mount efivarfs "$1/sys/firmware/efi/efivars" -t efivarfs -o nosuid,noexec,nodev || true; } && track_mount udev "$1/dev" -t devtmpfs -o mode=0755,nosuid && track_mount devpts "$1/dev/pts" -t devpts -o mode=0620,gid=5,nosuid,noexec && track_mount shm "$1/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev && -- 1.8.4.2