From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id S7QkB9Suz14qMgAA0tVLHw (envelope-from ) for ; Thu, 28 May 2020 12:30:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id V+p+AtSuz16XAgAAbx9fmQ (envelope-from ) for ; Thu, 28 May 2020 12:30:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2D56A9403E9 for ; Thu, 28 May 2020 12:30:11 +0000 (UTC) Received: from localhost ([::1]:54124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeHfk-0005zg-Mu for larch@yhetil.org; Thu, 28 May 2020 08:30:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeHff-0005zS-9P for guix-patches@gnu.org; Thu, 28 May 2020 08:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jeHfe-0002lg-VZ for guix-patches@gnu.org; Thu, 28 May 2020 08:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jeHfe-0007n0-Q2 for guix-patches@gnu.org; Thu, 28 May 2020 08:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41350] [PATCH v2 3/3] system: vm: Build vm-image using native qemu, for the Hurd. Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 May 2020 12:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41350 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 41350@debbugs.gnu.org Received: via spool by 41350-submit@debbugs.gnu.org id=B41350.159066900129913 (code B ref 41350); Thu, 28 May 2020 12:30:02 +0000 Received: (at 41350) by debbugs.gnu.org; 28 May 2020 12:30:01 +0000 Received: from localhost ([127.0.0.1]:51236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeHfc-0007mP-J2 for submit@debbugs.gnu.org; Thu, 28 May 2020 08:30:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeHfb-0007mA-28 for 41350@debbugs.gnu.org; Thu, 28 May 2020 08:29:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59888) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeHfV-0002jZ-Qa; Thu, 28 May 2020 08:29:53 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=34262 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jeHfK-0000BD-JT; Thu, 28 May 2020 08:29:44 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl References: <20200519072302.9202-1-janneke@gnu.org> <20200519072302.9202-3-janneke@gnu.org> <87367ue09v.fsf@gnu.org> <87pnavu611.fsf@gnu.org> <87zh9tf0qa.fsf@gnu.org> <87d06o36sc.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Thu, 28 May 2020 14:29:39 +0200 In-Reply-To: <87d06o36sc.fsf@gnu.org> (Mathieu Othacehe's message of "Thu, 28 May 2020 08:36:19 +0200") Message-ID: <87o8q8gs3w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: Xzud2PUleQD4 Mathieu Othacehe writes: Hello! >> So it took me the whole day, but I ended up with the following patches > > Hey Ludo, Thanks so much for helping out! >> addressing these two points. With that on master, I can do: >> >> guix system vm --target=3Darm-linux-gnueabihf --no-grafts \ >> gnu/system/examples/bare-bones.tmpl > > Nice! Many thanks for helping us on that :) +1 >> Likewise, this produces what looks like a valid image, except probably >> for the bootloader (I used GRUB in bare-bones, which didn=E2=80=99t comp= lain, >> but the result doesn=E2=80=99t work): >> >> guix system vm-image --target=3Darm-linux-gnueabihf =E2=80=A6 >> >> Thoughts? I have locally rebased wip-hurd-vm and wip-disk-image (working title for wip-hurd-vm minus vm-image support) on it: it looks nice and works for me building a disk-impage. Building a vm-image still needs quite some work: I tried building a vm-image without hurd-specific vm-image patches (bisecting a bit: register-closures/grub/qemu-image preserve-target stuff)...but in the end I still needed all these --8<---------------cut here---------------start------------->8--- 0547e4c251 * wip-hurd-vm system: vm: Activate the Hurd. 8c28ab91a5 * system: vm: Initial vm-image support for the Hurd. d9b84d03bc * system: vm: Add defaults for the Hurd. 29281d053f * system: vm: Build vm-image using native qemu, for the Hurd. 86edea90c4 * system: vm: Do not register-closures when cross-building to th= e Hurd. a29437ad82 * utils: Move 'reset-timestamps' out of database. --8<---------------cut here---------------end--------------->8--- (especially the "using native qemu" patch was greatly reduced now) as well as --no-grafts to get a vm-image. So..as discussed on IRC yesterday I'm voting to drop/pause the vm-image work for the Hurd and reset wip-hurd-vm to my current gitlab wip-hurd-disk (or possibly push wip-hurd-disk...) WDYT? >> From 6e936131ca85aba24f82d35c4616afe835ac7da5 Mon Sep 17 00:00:00 2001 >> From: =3D?UTF-8?q?Ludovic=3D20Court=3DC3=3DA8s?=3D >> Date: Wed, 27 May 2020 23:57:41 +0200 >> Subject: [PATCH 7/7] gnu: guile-static: Disable JIT on ARMv7. > > The whole serie LGTM. It's nice to have cross-compilation working for > both disk-images and vm-images! I agree...although as noted above: how much effort do we want to put in for the Hurd? Greetings, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com