From ab63e31bb8ba8ef4b51b8698cc5e89466e003989 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 8 Oct 2012 12:07:43 +0800 Subject: [PATCH] sbkeysync: change default efivarfs mountpoint to /sys/.../efivars/ Proposed changes to the kernel will establish /sys/firmware/efi/efivars as the canonical mountpoint for the efivars filesystem. Signed-off-by: Jeremy Kerr --- NEWS | 10 ++++++++++ src/sbkeysync.c | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index b62c90a..786145f 100644 --- a/NEWS +++ b/NEWS @@ -1,2 +1,12 @@ +v0.5: + sbkeysync's default efivars mountpoint has been moved to + /sys/firmware/efi/efivars/. This is to match the proposed Linux kernel + patch for efivarfs, which provides this sysfs node for the purpose of + mounting efivarfs, and leaving the older ../vars/ interface for legacy + applications. + + This default can be overridden using the --efivars-path option to + sbkeysync. + v0.1: Initial version diff --git a/src/sbkeysync.c b/src/sbkeysync.c index d68f675..011004a 100644 --- a/src/sbkeysync.c +++ b/src/sbkeysync.c @@ -55,7 +55,7 @@ #include "fileio.h" #include "efivars.h" -#define EFIVARS_MOUNTPOINT "/sys/firmware/efi/vars" +#define EFIVARS_MOUNTPOINT "/sys/firmware/efi/efivars" #define EFIVARS_FSTYPE 0x6165676C #define EFI_IMAGE_SECURITY_DATABASE_GUID \