[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/44: system: gnu: Add %bootstrap-{gcc, binutils, glibc} for devel prof
From: |
guix-commits |
Subject: |
28/44: system: gnu: Add %bootstrap-{gcc, binutils, glibc} for devel profile. |
Date: |
Tue, 21 Apr 2020 15:48:25 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit d9c21df422a5e68b191b00cc3377c2be82986b7c
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Sun Apr 19 11:15:14 2020 +0200
system: gnu: Add %bootstrap-{gcc,binutils,glibc} for devel profile.
* gnu/system/hurd.scm (system-profile): Add them.
("/root/.gitconfig"): Add git configuration for GNU.
---
gnu/system/hurd.scm | 34 ++++++++++++++++++++++++++++++----
1 file changed, 30 insertions(+), 4 deletions(-)
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index f3360f2..f0ef9e0 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -30,6 +30,7 @@
#:use-module (gnu packages admin)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages bootstrap)
#:use-module (gnu packages commencement)
#:use-module (gnu packages compression)
#:use-module (gnu packages cross-base)
@@ -243,9 +244,23 @@ fi\n")))
(dependencies (map cross-built-entry
(manifest-entry-dependencies entry)))))
+ (define (cross-bootstrap thing)
+ (with-parameters ((%current-system "i586-gnu"))
+ thing))
+
+ (define (cross-bootstrap-entry entry)
+ (manifest-entry
+ (inherit entry)
+ (item (cross-bootstrap (manifest-entry-item entry)))))
+
(define system-profile
- (map-manifest-entries cross-built-entry
- (packages->manifest (operating-system-packages os))))
+ (concatenate-manifests
+ (list (map-manifest-entries cross-built-entry
+ (packages->manifest
(operating-system-packages os)))
+ (map-manifest-entries cross-bootstrap-entry
+ (packages->manifest (list %bootstrap-gcc
+ %bootstrap-binutils
+
%bootstrap-glibc))))))
(define grub.cfg
(let ((hurd (cross-built hurd))
@@ -310,6 +325,15 @@ sshd:x:2:2:sshd:/var/empty:/bin/no-sh
(with-parameters ((%current-target-system "i586-pc-gnu"))
(operating-system-activation-script os)))
+ (define root-.gitconfig
+ (plain-file "root-.gitconfig"
+ "\
+[url \"git+ssh://git.sv.gnu.org/srv/git/\"]
+ insteadof = gnu-ssh:
+[url \"git://git.savannah.gnu.org/\"]
+ insteadof = gnu:
+")) ;" help Emacs
+
(define hurd-directives
`((directory "/servers")
,@(map (lambda (server)
@@ -368,7 +392,8 @@ sshd:x:2:2:sshd:/var/empty:/bin/no-sh
("/bin/sh" -> ,(file-append (with-parameters ((%current-target-system
"i586-pc-gnu"))
bash)
- "/bin/sh"))))
+ "/bin/sh"))
+ ("/root/.gitconfig" -> ,root-.gitconfig)))
(qemu-image #:file-system-type "ext2"
#:file-system-options '("-o" "hurd")
@@ -380,7 +405,8 @@ sshd:x:2:2:sshd:/var/empty:/bin/no-sh
("group" ,group)
("shadow" ,shadow)
("shepherd.conf" ,shepherd.conf)
- ("boot-activation" ,boot-activation))
+ ("boot-activation" ,boot-activation)
+ ("root-.gitconfig" ,root-.gitconfig))
#:copy-inputs? #t
#:os system-profile
#:bootcfg-drv grub.cfg
- 30/44: gnu: guix: Fix cross-compilation., (continued)
- 30/44: gnu: guix: Fix cross-compilation., guix-commits, 2020/04/21
- 34/44: gnu: guix: Add dependency on `hurd' when building for the Hurd., guix-commits, 2020/04/21
- 07/44: gnu: hurd: Fix references to /bin/w., guix-commits, 2020/04/21
- 17/44: services: Add hurd-ttys-service-type., guix-commits, 2020/04/21
- 20/44: services: hurd: Add dummy syslog., guix-commits, 2020/04/21
- 26/44: system: hurd: Add openssh service., guix-commits, 2020/04/21
- 31/44: gnu: guix: Cross-build fixup for wrap-program., guix-commits, 2020/04/21
- 13/44: system: hurd: Add less, which to %base-packages/hurd., guix-commits, 2020/04/21
- 12/44: gnu: Add libtirpc/hurd., guix-commits, 2020/04/21
- 08/44: gnu: hurd: Use default Qemu guest ip: 10.0.2.15., guix-commits, 2020/04/21
- 28/44: system: gnu: Add %bootstrap-{gcc, binutils, glibc} for devel profile.,
guix-commits <=
- 24/44: HACK use uncompiled .scm for shepherd, guix-commits, 2020/04/21
- 23/44: system: hurd: Add the Shepherd., guix-commits, 2020/04/21
- 33/44: gnu: guix: Apply courage for the Hurd., guix-commits, 2020/04/21
- 35/44: system: hurd: Add guix., guix-commits, 2020/04/21
- 36/44: system: hurd: Add the guix service., guix-commits, 2020/04/21
- 32/44: gnu: guix: Cross-build fix: override compressors., guix-commits, 2020/04/21
- 37/44: guile: Disable web-server test on the Hurd., guix-commits, 2020/04/21
- 40/44: gnu: guix: Avoid loading (gnu installer) when cross compiling., guix-commits, 2020/04/21
- 39/44: HACK gnu: python: Disable tests on the Hurd., guix-commits, 2020/04/21
- 42/44: Revert "records: Have ABI check work well for cross-compilation.", guix-commits, 2020/04/21