On Fri, 6 Aug 2021 at 06:42, Marc Leeman <marc.lee...@gmail.com> wrote:
> I am using refind with an netinst installer. Since bullseye this seems
> broken because sysfs/efivarfs is no longer mounted by default in the
> target and efibootmgr fails
>
> I've tested this patch on my side (simply trying to mount sys/efivarfs
> before efibootmgr and this seems to work.
>
> For completeness, I added such a mount in the postinst, but that one
> was not enough to fix the installation.
>
> https://salsa.debian.org/den_erpel-guest/refind/-/blob/debian/televic/bullseye/unstable/debian/patches/bullseye-efivarfs.patch
>
>
> https://salsa.debian.org/den_erpel-guest/refind/-/tree/debian/televic/bullseye/unstable
>
> If you want a clean MR, just let me know

Great catch!  Shouldn't the script also take care of unmounting these
if it's the one who mounted them, though?  (It makes the logic a bit
more complex, but seems like the "right" solution to me.)

I've also added Rod explicitly to CC here, since this is really an
upstream rEFInd bug (and his opinion on it might differ from mine!).
:)

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4

Reply via email to