[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: Add linux-libre-headers-bootstrap-tarball.
From: |
guix-commits |
Subject: |
02/08: gnu: Add linux-libre-headers-bootstrap-tarball. |
Date: |
Tue, 13 Aug 2019 02:04:05 -0400 (EDT) |
mhw pushed a commit to branch wip-binaries
in repository guix.
commit 432f796cdf21b7616b26b4a0121a4ec97c0a967b
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sun Sep 9 11:48:10 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 | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index c6002eb..af9373a 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -41,6 +41,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 +301,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)
@@ -660,6 +681,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-binaries created (now c67becb), guix-commits, 2019/08/13
- 01/08: guix: copy-linux-headers: Extract procedure, add headers., guix-commits, 2019/08/13
- 02/08: gnu: Add linux-libre-headers-bootstrap-tarball.,
guix-commits <=
- 03/08: gnu: mescc-tools: Update to 0.5.2-0.bb062b0d., guix-commits, 2019/08/13
- 06/08: bootstrap: Build the new reduced binary seed bootstrap on x86., guix-commits, 2019/08/13
- 05/08: bootstrap: Add mes-minimal-stripped-tarball., guix-commits, 2019/08/13
- 08/08: bootstrap: guile-static: Disable parallel build., guix-commits, 2019/08/13
- 04/08: bootstrap: Add mescc-tools-static-stripped-tarball., guix-commits, 2019/08/13
- 07/08: bootstrap: Build bootstrap bash deterministically., guix-commits, 2019/08/13