summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2022-09-24 14:46:47 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-09-24 14:49:07 +0200
commit08a7eb187f09aeefbb03b8b28b0d67aab33d4a06 (patch)
treee3d1b52521db6eeb845c4600f1f9bbce975e1274
parentc009c286a23f48b56731c3e7bc4875a9e88857c4 (diff)
platforms: x86: Rename Hurd hurd to i586-gnu.
* guix/platforms/x86.scm (hurd): Rename it to ... (i586-gnu): ... this variable. * gnu/system/images/hurd.scm (hurd-disk-image, hurd-barebones-disk-image, hurd-barebones-qcow2-image): Adapt those.
-rw-r--r--gnu/system/images/hurd.scm6
-rw-r--r--guix/platforms/x86.scm4
2 files changed, 5 insertions, 5 deletions
diff --git a/gnu/system/images/hurd.scm b/gnu/system/images/hurd.scm
index 2c64117c08..9b618f7dc6 100644
--- a/gnu/system/images/hurd.scm
+++ b/gnu/system/images/hurd.scm
@@ -76,7 +76,7 @@
(define hurd-disk-image
(image-without-os
(format 'disk-image)
- (platform hurd)
+ (platform i586-gnu)
(partitions
(list (partition
(size 'guess)
@@ -104,14 +104,14 @@
(define hurd-barebones-disk-image
(image
(inherit
- (os+platform->image hurd-barebones-os hurd
+ (os+platform->image hurd-barebones-os i586-gnu
#:type hurd-image-type))
(name 'hurd-barebones-disk-image)))
(define hurd-barebones-qcow2-image
(image
(inherit
- (os+platform->image hurd-barebones-os hurd
+ (os+platform->image hurd-barebones-os i586-gnu
#:type hurd-qcow2-image-type))
(name 'hurd-barebones.qcow2)))
diff --git a/guix/platforms/x86.scm b/guix/platforms/x86.scm
index 5338049d6f..6f547dd770 100644
--- a/guix/platforms/x86.scm
+++ b/guix/platforms/x86.scm
@@ -23,7 +23,7 @@
x86_64-linux
i686-mingw
x86_64-mingw
- hurd))
+ i586-gnu))
(define i686-linux
(platform
@@ -51,7 +51,7 @@
(system #f)
(glibc-dynamic-linker #f)))
-(define hurd
+(define i586-gnu
(platform
(target "i586-pc-gnu")
(system "i586-gnu")