unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51984] [PATCH 0/1] guix: Enable arm64 docker image building for 'guix pack'
@ 2021-11-19 21:01 Collin J. Doering
  2021-11-19 21:12 ` [bug#51984] [PATCH 1/1] " Collin J. Doering
  2021-11-23  8:55 ` bug#51984: [PATCH 0/1] " Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Collin J. Doering @ 2021-11-19 21:01 UTC (permalink / raw)
  To: 51984

Currently 'guix pack' supports producing arm but not arm64 based docker images. This trivial patch makes this no longer the case, and adds support for aarch64/arm64 based image production.

Collin J. Doering (1):
  guix: Enable arm64 docker image building for 'guix pack'

 guix/docker.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

-- 
2.33.1

-- 
Collin J. Doering

http://rekahsoft.ca
http://blog.rekahsoft.ca
http://git.rekahsoft.ca




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#51984] [PATCH 1/1] guix: Enable arm64 docker image building for 'guix pack'
  2021-11-19 21:01 [bug#51984] [PATCH 0/1] guix: Enable arm64 docker image building for 'guix pack' Collin J. Doering
@ 2021-11-19 21:12 ` Collin J. Doering
  2021-11-23  8:55 ` bug#51984: [PATCH 0/1] " Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Collin J. Doering @ 2021-11-19 21:12 UTC (permalink / raw)
  To: 51984

---
 guix/docker.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/guix/docker.scm b/guix/docker.scm
index a6f73d423c..5e6460f43f 100644
--- a/guix/docker.scm
+++ b/guix/docker.scm
@@ -214,10 +214,11 @@ (define transformation-options
                                             (else
                                              (error "unsupported system"
                                                     system)))))))
-                 (cond* ("x86_64" "amd64")
-                        ("i686"   "386")
-                        ("arm"    "arm")
-                        ("mips64" "mips64le")))))
+                 (cond* ("x86_64"  "amd64")
+                        ("i686"    "386")
+                        ("arm"     "arm")
+                        ("aarch64" "arm64")
+                        ("mips64"  "mips64le")))))
     ;; Make sure we start with a fresh, empty working directory.
     (mkdir directory)
     (with-directory-excursion directory
-- 
2.33.1

-- 
Collin J. Doering

http://rekahsoft.ca
http://blog.rekahsoft.ca
http://git.rekahsoft.ca




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#51984: [PATCH 0/1] guix: Enable arm64 docker image building for 'guix pack'
  2021-11-19 21:01 [bug#51984] [PATCH 0/1] guix: Enable arm64 docker image building for 'guix pack' Collin J. Doering
  2021-11-19 21:12 ` [bug#51984] [PATCH 1/1] " Collin J. Doering
@ 2021-11-23  8:55 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2021-11-23  8:55 UTC (permalink / raw)
  To: Collin J. Doering; +Cc: 51984-done

Hi,

"Collin J. Doering" <collin@rekahsoft.ca> skribis:

> Currently 'guix pack' supports producing arm but not arm64 based docker images. This trivial patch makes this no longer the case, and adds support for aarch64/arm64 based image production.
>
> Collin J. Doering (1):
>   guix: Enable arm64 docker image building for 'guix pack'

I tweaked the commit log and applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-23  8:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-19 21:01 [bug#51984] [PATCH 0/1] guix: Enable arm64 docker image building for 'guix pack' Collin J. Doering
2021-11-19 21:12 ` [bug#51984] [PATCH 1/1] " Collin J. Doering
2021-11-23  8:55 ` bug#51984: [PATCH 0/1] " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).