From: Marius Bakke <mbakke@fastmail.com>
To: David Craven <david@craven.ch>, guix-devel@gnu.org
Subject: Re: [PATCH 2/5] gnu: Add seabios.
Date: Fri, 10 Feb 2017 00:55:36 +0100 [thread overview]
Message-ID: <87inoisyvb.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20170209190450.29458-5-david@craven.ch>
[-- Attachment #1: Type: text/plain, Size: 2850 bytes --]
David Craven <david@craven.ch> writes:
> * gnu/packages/grub.scm (seabios): New variable.
I would place this in "firmware.scm".
> ---
> gnu/packages/grub.scm | 38 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 38 insertions(+)
>
> diff --git a/gnu/packages/grub.scm b/gnu/packages/grub.scm
> index 292d35373..a775e213c 100644
> --- a/gnu/packages/grub.scm
> +++ b/gnu/packages/grub.scm
> @@ -33,6 +33,7 @@
> #:use-module (gnu packages gettext)
> #:use-module (gnu packages fontutils)
> #:use-module (gnu packages linux)
> + #:use-module (gnu packages python)
> #:use-module (gnu packages qemu)
> #:use-module (gnu packages man)
> #:use-module (gnu packages texinfo)
> @@ -150,3 +151,40 @@ menu to select one of the installed operating systems.")
> (string-append (assoc-ref inputs "efibootmgr")
> "/sbin/efibootmgr")))
> #t)))))))))
> +
> +(define-public seabios
> + (package
> + (name "seabios")
> + (version "1.10.1")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "https://code.coreboot.org/p/seabios/downloads/get/"
> + "seabios-" version ".tar.gz"))
> + (sha256
> + (base32
> + "1jyjl719drnl1v0gf0l5q6qjjmkyqcqkka6s28dfdi0yqsxdsqsh"))))
> + (build-system gnu-build-system)
> + (native-inputs
> + `(("python-2" ,python-2)))
> + (arguments
> + `(#:tests? #f ; No check target.
> + #:phases
> + (modify-phases %standard-phases
> + (replace 'configure
> + (lambda* (#:key inputs #:allow-other-keys)
> + (let ((gcc (assoc-ref inputs "gcc")))
> + (setenv "CC" (string-append gcc "/bin/gcc")))
Does it need the full path, or would simply "gcc" be enough here?
> + #t))
> + (replace 'install
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (fmw (string-append out "/share/firmware")))
> + (mkdir-p fmw)
> + (copy-file "out/bios.bin" (string-append fmw "/bios.bin"
#t))))))))
> + (home-page "https://www.seabios.org/SeaBIOS")
> + (synopsis "x86 BIOS implementation")
> + (description "SeaBIOS is an open source implementation of a 16bit x86 BIOS.
> +SeaBIOS can run in an emulator or it can run natively on X86 hardware with the
> +use of coreboot.")
> + ;; Dual licensed.
> + (license (list license:gpl3+ license:lgpl3+))))
The Debian copyright file for this package mentions two other licenses
in use. They should probably be listed too. Otherwise LGTM.
Thank you!
> --
> 2.11.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2017-02-09 23:55 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 19:04 [PATCH] enable debug symbols David Craven
2017-02-09 19:04 ` [PATCH 1/5] gnu: Use 'license:' prefix in (gnu packages grub) David Craven
2017-02-09 23:45 ` Marius Bakke
2017-02-09 19:04 ` [PATCH] update epiphany David Craven
2017-02-10 0:31 ` Mark H Weaver
2017-02-09 19:04 ` [PATCH] update libdrm David Craven
2017-02-09 19:12 ` Marius Bakke
2017-02-09 19:32 ` David Craven
2017-02-10 0:32 ` Mark H Weaver
2017-02-10 12:29 ` David Craven
2017-02-09 19:04 ` [PATCH 2/5] gnu: Add seabios David Craven
2017-02-09 23:55 ` Marius Bakke [this message]
2017-02-09 19:04 ` [PATCH 3/5] gnu: Add ovmf David Craven
2017-02-10 0:15 ` Marius Bakke
2017-02-10 13:18 ` David Craven
2017-02-09 19:04 ` [PATCH 4/5] gnu: Add syslinux David Craven
2017-02-10 1:18 ` Marius Bakke
2017-02-10 14:24 ` David Craven
2017-02-09 19:04 ` [PATCH 5/5] gnu: Move (gnu packages grub) and (gnu packages u-boot) ... to (gnu packages bootloaders) David Craven
2017-02-09 19:07 ` [PATCH] enable debug symbols David Craven
2017-02-09 19:23 ` Marius Bakke
2017-02-09 19:29 ` David Craven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87inoisyvb.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=david@craven.ch \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.