diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-06-09 15:24:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-06-09 15:24:24 +0200 |
commit | e0b2737583fb06520c65b6a85917f4744db28970 (patch) | |
tree | e80e6c1feac8bd4a72eb2e52507b611fcf19a611 /HACKING | |
parent | 7bc5cc2b96188aad7f452309a0f4ae5aeecdf0e4 (diff) | |
download | patches-e0b2737583fb06520c65b6a85917f4744db28970.tar patches-e0b2737583fb06520c65b6a85917f4744db28970.tar.gz |
doc: Update bootstrap-related info in `HACKING'.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -142,7 +142,7 @@ problem? Chicken-and-egg. To break that cycle, the distro starts from a set of pre-built binaries–usually referred to as “bootstrap binaries.” These include -statically-linked versions of Guile, GCC, Coreutils, Make, Grep, sed, +statically-linked versions of Guile, GCC, Coreutils, Grep, sed, etc., and the GNU C Library. This section describes how to build those bootstrap binaries when @@ -154,7 +154,7 @@ In that case, the easiest thing is to bootstrap the distro using binaries from Nixpkgs. To do that, you need to comment out the definitions of -‘%bootstrap-guile’ and ‘%bootstrap-inputs’ in distro/packages/bootstrap.scm +‘%bootstrap-guile’ and ‘%bootstrap-inputs’ in gnu/packages/bootstrap.scm to force the use of Nixpkgs derivations. For instance, when porting to ‘i686-linux’, you should redefine these variables along these lines: @@ -190,10 +190,10 @@ These should build tarballs containing statically-linked tools usable on that system. In the source tree, you need to install binaries for ‘mkdir’, ‘bash’, -‘tar’, and ‘xz’ under ‘distro/packages/bootstrap/i686-linux’. These +‘tar’, and ‘xz’ under ‘gnu/packages/bootstrap/i686-linux’. These binaries can be extracted from the static-binaries tarball built above. -A rule for ‘distro/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz’ +A rule for ‘gnu/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz’ needs to be added in ‘Makefile.am’, with the appropriate hexadecimal vrepresentation of its SHA256 hash. |