[oe-commits] Stanacar, StefanX : efivar: add recipe

git at git.openembedded.org git at git.openembedded.org
Wed Mar 26 20:51:41 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 30d1e9c484533769e16bda27f950cc3ad34f8b24
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=30d1e9c484533769e16bda27f950cc3ad34f8b24

Author: Stanacar, StefanX <stefanx.stanacar at intel.com>
Date:   Mon Mar 24 19:06:55 2014 +0200

efivar: add recipe

efivar is is a tool to manipulate UEFI variables.
This is obviously useful only for EFI machines that have
the efivarfs interface enabled in the kernel config (CONFIG_EFIVAR_FS),
and mounted (mount -t efivarfs efivarfs /sys/firmware/efi/efivars).

Sample usage:
GUID: 4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
Name: "LoaderEntrySelected"
Attributes:
    Boot Service Access
    Runtime Service Access
Value:
00000000  62 00 6f 00 6f 00 74 00  00 00                    |b.o.o.t...      |

Signed-off-by: Stefan Stanacar <stefanx.stanacar at intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-extended/efivar/efivar_git.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/meta-oe/recipes-extended/efivar/efivar_git.bb b/meta-oe/recipes-extended/efivar/efivar_git.bb
new file mode 100644
index 0000000..18446a0
--- /dev/null
+++ b/meta-oe/recipes-extended/efivar/efivar_git.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Tools to manipulate UEFI variables"
+DESCRIPTION = "efivar provides a simple command line interface to the UEFI variable facility"
+HOMEPAGE = "https://github.com/vathpela/efivar"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+DEPENDS = "popt"
+
+SRCREV = "c9e1f24a81b5374408bca5616402276e47171cf7"
+PV = "0.7+git${SRCPV}"
+SRC_URI = "git://github.com/vathpela/efivar.git"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+    oe_runmake install DESTDIR=${D}
+}



More information about the Openembedded-commits mailing list