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 <jeremy.kerr@canonical.com>
This commit is contained in:
Jeremy Kerr 2012-10-08 12:07:43 +08:00
parent 6bfa9f3349
commit ab63e31bb8
2 changed files with 11 additions and 1 deletions

10
NEWS
View File

@ -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

View File

@ -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 \