[arch-releng] [arch-install-scripts] [PATCH] common: mount efivarfs if possible, but don't bail out if it fails

Thomas Bächler thomas at archlinux.org
Fri Nov 15 05:09:30 EST 2013

Am 14.11.2013 20:58, schrieb Dave Reisner:
> 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

The last patch will still bail out if /sys/firmware/efi/efivars exists,
but mounting efivarfs fails for some odd reason. While not mounting
efivarfs is an undesirable situation, bailing out completely due to this
failure is worse IMO.

That's why I originally added '{ cmd || true } &&'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20131115/76b2b35d/attachment-0001.asc>

More information about the arch-releng mailing list