[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/15: gnu: Add linux-libre-headers-bootstrap-tarball.
From: |
Jan Nieuwenhuizen |
Subject: |
08/15: gnu: Add linux-libre-headers-bootstrap-tarball. |
Date: |
Thu, 20 Sep 2018 10:06:01 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit b16cbe024db2e22876e6965b117e85350387a5ec
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sun Sep 9 11:49:04 2018 +0200
gnu: Add linux-libre-headers-bootstrap-tarball.
* gnu/packages/make-bootstrap.scm (%linux-libre-headers-stripped): New
variable.
(%linux-libre-headers-bootstrap-tarball): New variable.
---
gnu/packages/make-bootstrap.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 65d632f..6523f36 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2017 Efraim Flashner <address@hidden>
;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018 Mark H Weaver <address@hidden>
+;;; Copyright © 2018 Jan (janneke) Nieuwenhuizen <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -41,6 +42,7 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:export (%bootstrap-binaries-tarball
+ %linux-libre-headers-bootstrap-tarball
%binutils-bootstrap-tarball
%glibc-bootstrap-tarball
%gcc-bootstrap-tarball
@@ -300,6 +302,26 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(license gpl3+)
(home-page #f)))
+(define %linux-libre-headers-stripped
+ ;; The subset of Linux-Libre-Headers that we need.
+ (package (inherit linux-libre-headers)
+ (name (string-append (package-name linux-libre-headers) "-stripped"))
+ (build-system trivial-build-system)
+ (outputs '("out"))
+ (arguments
+ `(#:modules ((guix build utils)
+ (guix build make-bootstrap))
+ #:builder
+ (begin
+ (use-modules (guix build utils)
+ (guix build make-bootstrap))
+
+ (let* ((in (assoc-ref %build-inputs "linux-libre-headers"))
+ (out (assoc-ref %outputs "out")))
+ (copy-linux-headers out in)
+ #t))))
+ (inputs `(("linux-libre-headers" ,linux-libre-headers)))))
+
(define %binutils-static
;; Statically-linked Binutils.
(package (inherit binutils)
@@ -658,6 +680,10 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
;; A tarball with the statically-linked bootstrap binaries.
(tarball-package %static-binaries))
+(define %linux-libre-headers-bootstrap-tarball
+ ;; A tarball with the statically-linked Linux-Libre-Headers programs.
+ (tarball-package %linux-libre-headers-stripped))
+
(define %binutils-bootstrap-tarball
;; A tarball with the statically-linked Binutils programs.
(tarball-package %binutils-static-stripped))
- branch wip-bootstrap created (now 78b8c9a), Jan Nieuwenhuizen, 2018/09/20
- 02/15: bootstrap: %bootstrap-inputs+toolchain: Replace %bootstrap-inputs., Jan Nieuwenhuizen, 2018/09/20
- 05/15: bootstrap: static-bash-for-glibc: Consider %current-system at run time., Jan Nieuwenhuizen, 2018/09/20
- 08/15: gnu: Add linux-libre-headers-bootstrap-tarball.,
Jan Nieuwenhuizen <=
- 04/15: bootstrap: Use thunk for inputs in package-with-explicit-inputs., Jan Nieuwenhuizen, 2018/09/20
- 06/15: guix: package-from-tarball: Allow PROGRAM-TO-TEST to be #f., Jan Nieuwenhuizen, 2018/09/20
- 07/15: guix: copy-linux-headers: Extract procedure, add headers., Jan Nieuwenhuizen, 2018/09/20
- 11/15: bootstrap: bison-boot0: Do not use `ranlib -D'., Jan Nieuwenhuizen, 2018/09/20
- 12/15: bootstrap: perl-boot0: Disable validate-runpath?., Jan Nieuwenhuizen, 2018/09/20
- 09/15: bootstrap: Add Mes bootstrap seeds., Jan Nieuwenhuizen, 2018/09/20
- 14/15: doc: Describe the Reduced Binary Seed bootstrap., Jan Nieuwenhuizen, 2018/09/20
- 13/15: bootstrap: Replace GNU toolchain seeds with Mes for i686-linux., Jan Nieuwenhuizen, 2018/09/20
- 01/15: bootstrap: %bootstrap-inputs: Wrap input lists into thunks., Jan Nieuwenhuizen, 2018/09/20
- 03/15: gnu: m4-boot0: New variable., Jan Nieuwenhuizen, 2018/09/20