Comment 32 for bug 1993541

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Since lunar ships with a 6.x kernel, it doesn't need the check for the old sysfs interface and the new efivarfs mountpoint, unless you want to keep it the same, for consistency.

I.e., currently we have:

kinetic, jammy:
+if [ -d /sys/firmware/efi/efivars ] && ! [ -d /sys/firmware/efi/vars ]; then
+ mount -t efivarfs -o rw,nosuid,nodev,noexec,relatime efivarfs /sys/firmware/efi/efivars
+fi

lunar, mantic:
+if [ -d /sys/firmware/efi/efivars ]; then
+ mount -t efivarfs -o rw,nosuid,nodev,noexec,relatime efivarfs /sys/firmware/efi/efivars
+fi