mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: intelmetool, me-cleaner: Restrict to Intel platforms.
* gnu/packages/flashing-tools.scm (intelmetool)[supported-systems]: New field. (me-cleaner)[supported-systems]: New field.
This commit is contained in:
parent
338e2852b5
commit
ca1499ce20
1 changed files with 10 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2014 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
;;; Copyright © 2014 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
||||||
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2016, 2018 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2017 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
;;; Copyright © 2017 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
||||||
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
||||||
|
@ -402,7 +402,10 @@ (define-public intelmetool
|
||||||
Management Engine (ME). You need to @code{sudo rmmod mei_me} and
|
Management Engine (ME). You need to @code{sudo rmmod mei_me} and
|
||||||
@code{sudo rmmod mei} before using this tool. Also pass
|
@code{sudo rmmod mei} before using this tool. Also pass
|
||||||
@code{iomem=relaxed} to the Linux kernel command line.")
|
@code{iomem=relaxed} to the Linux kernel command line.")
|
||||||
(license license:gpl2)))
|
(license license:gpl2)
|
||||||
|
|
||||||
|
;; This is obviously an Intel thing, plus it requires <cpuid.h>.
|
||||||
|
(supported-systems '("x86_64-linux" "i686-linux"))))
|
||||||
|
|
||||||
(define-public me-cleaner
|
(define-public me-cleaner
|
||||||
(package
|
(package
|
||||||
|
@ -420,7 +423,7 @@ (define-public me-cleaner
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'create-setup.py
|
(add-after 'unpack 'create-setup.py
|
||||||
(lambda _
|
(lambda _
|
||||||
(call-with-output-file "setup.py"
|
(call-with-output-file "setup.py"
|
||||||
(lambda (port)
|
(lambda (port)
|
||||||
|
@ -433,4 +436,7 @@ (define-public me-cleaner
|
||||||
(synopsis "Intel ME cleaner")
|
(synopsis "Intel ME cleaner")
|
||||||
(description "This package provides tools for disabling Intel
|
(description "This package provides tools for disabling Intel
|
||||||
ME as far as possible (it only edits ME firmware image files).")
|
ME as far as possible (it only edits ME firmware image files).")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)
|
||||||
|
|
||||||
|
;; This is an Intel thing.
|
||||||
|
(supported-systems '("x86_64-linux" "i686-linux"))))
|
||||||
|
|
Loading…
Reference in a new issue