Every Ubuntu update breaks rEFInd on my MBP Every time when I'm updating Ubuntu with:
apt-get update &amp;&amp; apt-get -y upgrade

I've needed to do this in MBP recovery mode:
mkdir /Volumes/EFI
mount -t msdos /dev/disk0s1 /Volumes/EFI
bless --mount /Volumes/EFI --setBoot --file /Volumes/EFI/EFI/refind/refind_x64.efi --shortform

How can I avoid this?
Finally I found a solution:
umount /boot/efi

I'm running this automatically at Ubuntu startup. When EFI partition needed with running Ubuntu I can mount it manually. Now I don't need to &quot;rebless&quot; rEFInd after every Ubuntu upgrade.