From: Mathieu Othacehe <m.othacehe@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Plan for a release!
Date: Mon, 23 Mar 2020 15:05:47 +0100 [thread overview]
Message-ID: <87k13bnp38.fsf@gmail.com> (raw)
In-Reply-To: <87k13d1zj7.fsf@gnu.org>
Hello,
> Yes: you need to have ‘installation-os-for-gui-tests’ (or preferably a
> variant thereof) include all the services/packages needed for the target
> config.
>
> In the manual installation tests we use ‘define-os-with-source’ to both
> embed the target OS and its references in the installation image *and*
> have the source of the target OS available in /etc/target-config.scm in
> the installation image.
Ok! I'm testing with an installation image containing all desktop
environments. This represents 1200 store items (image around 6GiB).
The disk-image creation takes 2h45 on a powerful machine (with
KVM). I've seen your insights on this topic here:
--8<---------------cut here---------------start------------->8---
> I'd like to propose an alternative mechanism which would be faster and
> not involving virtual machines. Maybe producing the disk-image in a
> container?
Unfortunately, I don’t think that’s possible. The reason we resort to
VMs is that the Linux kernel doesn’t allow you, for instance, to mount a
file system without being root. So doing things like running Parted,
mounting a file system, and populating it typically requires root
privileges. (In some cases, there are tools like mksquashfs that can do
that from user-space, but it’s very ad-hoc.)
--8<---------------cut here---------------end--------------->8---
It makes sense and after some digging, I cannot propose something
better (nix is using the same mechanism). However, I feel very
frustrated by this disk-image thing, loosing a lot of time and
computation time for some copies.
> It’d be IMO clearer, although technically equivalent, to make it:
>
> (or (marionette-eval exp marionette)
> (throw 'marionette-eval-failure 'exp))
>
> Perhaps you don’t even need to catch it.
You are right :) I pushed this patch throwing exception as suggested.
Thanks,
Mathieu
next prev parent reply other threads:[~2020-03-23 14:05 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-24 21:38 Plan for a release! Ludovic Courtès
2020-02-24 22:55 ` Vincent Legoll
2020-02-25 14:00 ` Jonathan Brielmaier
2020-02-25 15:15 ` Vincent Legoll
2020-02-24 23:35 ` zimoun
2020-02-25 15:47 ` Joshua Branson
2020-03-05 4:54 ` jbranso
2020-03-08 12:04 ` pelzflorian (Florian Pelz)
2020-03-08 21:03 ` kmscon not working on MacBook Ludovic Courtès
2020-03-09 7:43 ` pelzflorian (Florian Pelz)
2020-03-09 9:48 ` Vincent Legoll
2020-03-09 16:45 ` Ludovic Courtès
2020-03-11 7:14 ` pelzflorian (Florian Pelz)
2020-03-11 7:25 ` pelzflorian (Florian Pelz)
2020-03-20 8:48 ` pelzflorian (Florian Pelz)
2020-03-20 8:51 ` pelzflorian (Florian Pelz)
2020-03-25 23:00 ` pelzflorian (Florian Pelz)
2020-03-26 2:26 ` Bengt Richter
2020-03-26 16:53 ` pelzflorian (Florian Pelz)
2020-03-29 10:26 ` pelzflorian (Florian Pelz)
2020-03-08 12:35 ` Gnome takes more than 5 minutes to start Ricardo Wurmus
2020-03-08 21:04 ` Btrfs/udev issue Ludovic Courtès
2020-03-05 13:42 ` Plan for a release! jbranso
2020-03-05 16:45 ` sirgazil
2020-03-06 16:32 ` Joshua Branson
2020-03-05 21:09 ` Jan
2020-03-06 16:33 ` Joshua Branson
2020-03-06 16:51 ` Thunar cannot launch gio-launch-desktop Ricardo Wurmus
2020-03-06 17:57 ` Jan
2020-03-06 21:51 ` Ricardo Wurmus
2020-03-06 23:59 ` Jan
2020-03-07 23:41 ` Jan
2020-03-08 9:08 ` Ricardo Wurmus
2020-03-08 22:05 ` Jan
2020-03-08 23:41 ` Jan
2020-03-09 22:41 ` Jan
2020-03-06 6:44 ` Plan for a release! pelzflorian (Florian Pelz)
2020-03-06 9:58 ` John Soo
2020-03-08 12:33 ` Ricardo Wurmus
2020-03-08 21:10 ` Ludovic Courtès
2020-03-12 13:54 ` Ludovic Courtès
2020-03-18 16:53 ` Ludovic Courtès
2020-03-18 17:31 ` Ricardo Wurmus
2020-03-18 17:49 ` Mathieu Othacehe
2020-03-20 10:52 ` Mathieu Othacehe
2020-03-20 13:13 ` Gábor Boskovits
2020-03-20 13:58 ` Mathieu Othacehe
2020-03-21 15:46 ` Ludovic Courtès
2020-03-23 14:05 ` Mathieu Othacehe [this message]
2020-03-26 11:55 ` Ludovic Courtès
2020-03-26 12:37 ` Vincent Legoll
2020-03-26 14:24 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k13bnp38.fsf@gmail.com \
--to=m.othacehe@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.