distro: Add i686-linux port.
authorLudovic Courtès <ludo@gnu.org>
Fri, 26 Oct 2012 17:10:37 +0000 (19:10 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 26 Oct 2012 17:10:37 +0000 (19:10 +0200)
* distro/packages/bootstrap/i686-linux/bash,
  distro/packages/bootstrap/i686-linux/mkdir,
  distro/packages/bootstrap/i686-linux/tar,
  distro/packages/bootstrap/i686-linux/xz: New files.

* distro/packages/base.scm (%bootstrap-coreutils&co,
  %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Add hashes of
  the i686-linux tarballs.

* Makefile.am (bootstrap_i686_linuxdir, dist_bootstrap_i686_linux_DATA,
  nodist_bootstrap_i686_linux_DATA): New variables
  (DISTCLEANFILES): Add $(nodist_bootstrap_i686_linux_DATA).
  (distro/packages/bootstrap/i686-linux/guile-bootstrap-2.0.6.tar.xz):
  New rule.

.gitignore
Makefile.am
distro/packages/base.scm
distro/packages/bootstrap/i686-linux/bash [new file with mode: 0755]
distro/packages/bootstrap/i686-linux/mkdir [new file with mode: 0755]
distro/packages/bootstrap/i686-linux/tar [new file with mode: 0755]
distro/packages/bootstrap/i686-linux/xz [new file with mode: 0755]

index 0298a69..816660e 100644 (file)
@@ -46,3 +46,4 @@ config.cache
 /doc/version.texi
 /distro/packages/bootstrap/x86_64-linux/guile-bootstrap-2.0.6.tar.xz
 /guix-download
+/distro/packages/bootstrap/i686-linux/guile-bootstrap-2.0.6.tar.xz
index 623a07a..35c477e 100644 (file)
@@ -66,6 +66,7 @@ dist_patch_DATA =                                     \
 
 bootstrapdir = $(pkgdatadir)/bootstrap
 bootstrap_x86_64_linuxdir = $(bootstrapdir)/x86_64-linux
+bootstrap_i686_linuxdir = $(bootstrapdir)/i686-linux
 
 dist_bootstrap_x86_64_linux_DATA =             \
   distro/packages/bootstrap/x86_64-linux/bash  \
@@ -73,12 +74,22 @@ dist_bootstrap_x86_64_linux_DATA =          \
   distro/packages/bootstrap/x86_64-linux/tar   \
   distro/packages/bootstrap/x86_64-linux/xz
 
+dist_bootstrap_i686_linux_DATA =               \
+  distro/packages/bootstrap/i686-linux/bash    \
+  distro/packages/bootstrap/i686-linux/mkdir   \
+  distro/packages/bootstrap/i686-linux/tar     \
+  distro/packages/bootstrap/i686-linux/xz
+
 # Big bootstrap binaries are not included in the tarball.  Instead, they
 # are downloaded.
 nodist_bootstrap_x86_64_linux_DATA =                                   \
   distro/packages/bootstrap/x86_64-linux/guile-bootstrap-2.0.6.tar.xz
+nodist_bootstrap_i686_linux_DATA =                                     \
+  distro/packages/bootstrap/i686-linux/guile-bootstrap-2.0.6.tar.xz
 
-DISTCLEANFILES = $(nodist_bootstrap_x86_64_linux_DATA)
+DISTCLEANFILES =                               \
+  $(nodist_bootstrap_x86_64_linux_DATA)                \
+  $(nodist_bootstrap_i686_linux_DATA)
 
 # Method to download a file from an external source.
 DOWNLOAD_FILE =                                                                \
@@ -88,6 +99,8 @@ DOWNLOAD_FILE =                                                               \
 
 distro/packages/bootstrap/x86_64-linux/guile-bootstrap-2.0.6.tar.xz: guix/utils.go
        $(DOWNLOAD_FILE) "$@" "0467a82cbe4136f60a79eb4176011bf88cf28ea19c9ad9defa365811ff8e11cf"
+distro/packages/bootstrap/i686-linux/guile-bootstrap-2.0.6.tar.xz: guix/utils.go
+       $(DOWNLOAD_FILE) "$@" "93b537766dfab3ad287143523751e3ec02dd32d3ccaf88ad2d31c63158f342ee"
 
 nobase_nodist_guilemodule_DATA = $(GOBJECTS)
 
index ca85ca1..dcb1ca2 100644 (file)
@@ -1490,8 +1490,13 @@ check whether everything is alright."
                                  %bootstrap-base-url "/"
                                  system "/static-binaries.tar.xz"))
                            (sha256
-                            (base32
-                             "0azisn8l2b3cvgni9k0ahzsxs5cxrj0hmf38zgpq3k6pggk3zbfm"))))
+                            (match system
+                              ("x86_64-linux"
+                               (base32
+                                "0azisn8l2b3cvgni9k0ahzsxs5cxrj0hmf38zgpq3k6pggk3zbfm"))
+                              ("i686-linux"
+                               (base32
+                                "16v60frbh0naccanwxcxz0z3444dd8salbg8p7cp7vwz8245nhfk"))))))
                         "true"                    ; the program to test
                         "Bootstrap binaries of Coreutils, Awk, etc."))
 
@@ -1504,8 +1509,13 @@ check whether everything is alright."
                                  %bootstrap-base-url "/"
                                  system "/binutils-2.22.tar.xz"))
                            (sha256
-                            (base32
-                             "1cz1rwqhswgrr14kzbkaj3k32kzgv2b6mmzvc6ssbbz8k2m8jmqa"))))
+                            (match system
+                              ("x86_64-linux"
+                               (base32
+                                "1cz1rwqhswgrr14kzbkaj3k32kzgv2b6mmzvc6ssbbz8k2m8jmqa"))
+                              ("i686-linux"
+                               (base32
+                                "1crg5xsf4cxk249sg90h6fjhfkwj1s5dxvhwbym79g79ygbww1br"))))))
                         "ld"                      ; the program to test
                         "Bootstrap binaries of the GNU Binutils"))
 
@@ -1552,8 +1562,13 @@ check whether everything is alright."
                        (uri (string-append %bootstrap-base-url "/"
                                            system "/glibc-2.16.0.tar.xz"))
                        (sha256
-                        (base32
-                         "1cz587p3scrrx0zgqnmp4nnfj0vvf01zdqdgkz445dnbfh64nl0v"))))))))
+                        (match system
+                          ("x86_64-linux"
+                           (base32
+                            "1cz587p3scrrx0zgqnmp4nnfj0vvf01zdqdgkz445dnbfh64nl0v"))
+                          ("i686-linux"
+                           (base32
+                            "0vzybz1577vflm0p0zg1slqj32carj5102b45k7iskkj46viy14z"))))))))))
     (description "Bootstrap binaries and headers of the GNU C Library")
     (long-description #f)
     (home-page #f)))
@@ -1618,8 +1633,13 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
                        (uri (string-append %bootstrap-base-url "/"
                                            system "/gcc-4.7.2.tar.xz"))
                        (sha256
-                        (base32
-                         "07piqzcdaksjbcj037y5gdbh9dfqwzjivg6fkhgg8kif82ibwxxr"))))))))
+                        (match system
+                          ("x86_64-linux"
+                           (base32
+                            "07piqzcdaksjbcj037y5gdbh9dfqwzjivg6fkhgg8kif82ibwxxr"))
+                          ("i686-linux"
+                           (base32
+                            "0caiihphp23rrqn382cabykz9ps3ixd5p63dgdnkhz1f01jiarl2"))))))))))
     (description "Bootstrap binaries of the GNU Compiler Collection")
     (long-description #f)
     (home-page #f)))
diff --git a/distro/packages/bootstrap/i686-linux/bash b/distro/packages/bootstrap/i686-linux/bash
new file mode 100755 (executable)
index 0000000..9882d4a
Binary files /dev/null and b/distro/packages/bootstrap/i686-linux/bash differ
diff --git a/distro/packages/bootstrap/i686-linux/mkdir b/distro/packages/bootstrap/i686-linux/mkdir
new file mode 100755 (executable)
index 0000000..0ddab23
Binary files /dev/null and b/distro/packages/bootstrap/i686-linux/mkdir differ
diff --git a/distro/packages/bootstrap/i686-linux/tar b/distro/packages/bootstrap/i686-linux/tar
new file mode 100755 (executable)
index 0000000..6bee702
Binary files /dev/null and b/distro/packages/bootstrap/i686-linux/tar differ
diff --git a/distro/packages/bootstrap/i686-linux/xz b/distro/packages/bootstrap/i686-linux/xz
new file mode 100755 (executable)
index 0000000..5a126e4
Binary files /dev/null and b/distro/packages/bootstrap/i686-linux/xz differ