[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: Add intelmetool.
From: |
Danny Milosavljevic |
Subject: |
03/04: gnu: Add intelmetool. |
Date: |
Thu, 15 Feb 2018 06:06:01 -0500 (EST) |
dannym pushed a commit to branch master
in repository guix.
commit 9721c0b6ef80f10edb3f0bcf5d95033f701554f2
Author: Danny Milosavljevic <address@hidden>
Date: Tue Feb 13 23:48:09 2018 +0100
gnu: Add intelmetool.
* gnu/packages/flashing-tools.scm (intelmetool): New variable.
---
gnu/packages/flashing-tools.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 2a89b6a..08073ba 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -35,6 +35,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages flex)
#:use-module (gnu packages elf)
+ #:use-module (gnu packages pciutils)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages libusb)
#:use-module (gnu packages libftdi)
@@ -363,3 +364,41 @@ referred to as the \"Odin 3 protocol\".")
(description "This package provides @ifdtool}, a program to
dump Intel Firmware Descriptor data of an image file.")
(license license:gpl2)))
+
+(define-public intelmetool
+ (package
+ (name "intelmetool")
+ (version "4.7")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://review.coreboot.org/p/coreboot")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0nw555i0fm5kljha9h47bk70ykbwv8ddfk6qhz6kfqb79vzhy4h2"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("pciutils" ,pciutils)
+ ("zlib" ,zlib)))
+ (arguments
+ `(#:make-flags
+ (list "CC=gcc"
+ "INSTALL=install"
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "util/intelmetool")
+ #t))
+ (delete 'configure)
+ (delete 'check))))
+ (home-page "https://github.com/zamaudio/intelmetool")
+ (synopsis "Intel ME tools")
+ (description "This package provides tools for working with Intel
+Management Engine (ME). You need to @code{sudo rmmod mei_me} and
address@hidden rmmod mei} before using this tool. Also pass
address@hidden to the Linux kernel command line.")
+ (license license:gpl2)))