installer: referring to N-1 guix is problematic.

OpenSubmitted by Mathieu Othacehe.
Details
2 participants
  • Ludovic Courtès
  • Mathieu Othacehe
Owner
unassigned
Severity
important
M
M
Mathieu Othacehe wrote on 12 Jan 17:23 +0100
(address . bug-guix@gnu.org)
87czkw6hzk.fsf@gnu.org
Hello,

If I download the latest installer and use it to install a new system,
the "guix system init" command will install the guix package defined in
the (gnu packages package-management) module.

That means that if the installer is built with a guix package at the
version N in that module, the guix installed by the installer will be at
version N-1.

Besides the fact it is quite disturbing there are at least two major
issues:

* If the guix package is broken, it needs to build updated twice. I
recently added a comment about that:

Toggle snippet (5 lines)
;; If you are updating this package because it fails to build, you need to
;; actually update it *twice*, as the installer is pointing to the N-1 guix
;; package revision.

* When the guix package is updated twice in two separate but near
commits, Cuirass that is checkouting Guix every 5 minutes might miss
the intermediate version of the guix package. Hence, the installation
is taking a while because the guix package is expensive to build.

Any idea on how to improve this inception problem?

Thanks,

Mathieu
L
L
Ludovic Courtès wrote on 12 Jan 18:33 +0100
control message for bug #53210
(address . control@debbugs.gnu.org)
87r19crh94.fsf@gnu.org
severity 53210 important
quit
L
L
Ludovic Courtès wrote on 12 Jan 18:41 +0100
Re: bug#53210: installer: referring to N-1 guix is problematic.
(name . Mathieu Othacehe)(address . othacehe@gnu.org)(address . 53210@debbugs.gnu.org)
87lezkrgvj.fsf@gnu.org
Hi!

Mathieu Othacehe <othacehe@gnu.org> skribis:

Toggle quote (2 lines)
> Any idea on how to improve this inception problem?

We can arrange for ‘installation-os’ to use Guix from the current
commit, as built by (guix self), instead of using the ‘guix’ package.
(For the record, (gnu ci) already does that in ‘system-test-jobs’ to
make installation tests faster.)

I’ll take a look hopefully in the coming days and send a patch here.

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 12 Jan 18:42 +0100
control message for bug #53214
(address . control@debbugs.gnu.org)
87h7a8rguu.fsf@gnu.org
block 53214 by 53210
quit
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 53210@debbugs.gnu.org