unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43049: guix installation why internet connection required?
       [not found]   ` <875xz2byuo.fsf@xelera.eu>
@ 2024-02-06 10:58     ` Josselin Poiret via Bug reports for GNU Guix
  2024-02-07  9:47       ` bug#43049: Add the ability to install Guix System offline Giovanni Biscuolo
  0 siblings, 1 reply; 3+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2024-02-06 10:58 UTC (permalink / raw)
  To: Giovanni Biscuolo, 43049, Maxim Cournoyer, vvt; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

Hi Giovanni,

Giovanni Biscuolo <g@xelera.eu> writes:

> Sorry I don't understand the problem, could you expand please?
>
> The guix (and daemon) versione are those of the channel used when
> creating the install .iso image; booting the 1.40 installer we get a
> "guix version" and "guix describe" value of 989a391...

Not exactly, to include Guix inside the installer image, it somehow
needs to refer to itself.  The way it used to be done was by using the
`guix` package, which necessarily is older than the current commit.
However, we also implemented the `current-guix` hack that basically uses
a guix checkout at the current guix version as the source for the guix
package.  In both cases though, we shouldn't see any differences in
other package's derivations…

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

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

* bug#43049: Add the ability to install Guix System offline
  2024-02-06 10:58     ` bug#43049: guix installation why internet connection required? Josselin Poiret via Bug reports for GNU Guix
@ 2024-02-07  9:47       ` Giovanni Biscuolo
  2024-02-10 10:13         ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: Giovanni Biscuolo @ 2024-02-07  9:47 UTC (permalink / raw)
  To: Josselin Poiret, 43049

[-- Attachment #1: Type: text/plain, Size: 1938 bytes --]

Hi Josselin,

first of all, sorry for the confusion: I'm still learning... and I'm
probably still using bad terminilogy from a Guix/Guile developer POV.

Josselin Poiret <dev@jpoiret.xyz> writes:

> Giovanni Biscuolo <g@xelera.eu> writes:
>
>> Sorry I don't understand the problem, could you expand please?
>>
>> The guix (and daemon) versione are those of the channel used when
>> creating the install .iso image; booting the 1.40 installer we get a
>> "guix version" and "guix describe" value of 989a391...
>
> Not exactly, to include Guix inside the installer image, it somehow
> needs to refer to itself.  The way it used to be done was by using the
> `guix` package, which necessarily is older than the current commit.

OK, in fact I checked starting the guix-1.4 install image in a VM and I
got an older guix in the install system (forgive me for the missing the
details, but this is not important in this context), but the verion
installed on the target was 1.4.0 (so I guess its subsitute was
downloaded from one of the build farms).

> However, we also implemented the `current-guix` hack that basically uses
> a guix checkout at the current guix version as the source for the guix
> package.

So, since some commit, now the guix version used to build the target
system image is the one checked-out by the person/agent running the
install image build script: did I understand it correctly?

> In both cases though, we shouldn't see any differences in other
> package's derivations…

Does this mean you consider possible to pre-populate the /gnu/store
install system (the one started using the install image) with a substet
of substitutes possibly needed in the target system?

I'm wondering if it's possible to create a custom build image (info
"(guix) Building the Installation Image") to do something like this.

Thanks! Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

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

* bug#43049: Add the ability to install Guix System offline
  2024-02-07  9:47       ` bug#43049: Add the ability to install Guix System offline Giovanni Biscuolo
@ 2024-02-10 10:13         ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 0 replies; 3+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2024-02-10 10:13 UTC (permalink / raw)
  To: Giovanni Biscuolo, 43049

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

Hi Giovanni,

Giovanni Biscuolo <g@xelera.eu> writes:

>> However, we also implemented the `current-guix` hack that basically uses
>> a guix checkout at the current guix version as the source for the guix
>> package.
>
> So, since some commit, now the guix version used to build the target
> system image is the one checked-out by the person/agent running the
> install image build script: did I understand it correctly?

Yes.

>> In both cases though, we shouldn't see any differences in other
>> package's derivations…
>
> Does this mean you consider possible to pre-populate the /gnu/store
> install system (the one started using the install image) with a substet
> of substitutes possibly needed in the target system?

I think it's already meant to be the case, see the comment in
gnu/system/install.scm about keeping a reference to the bare bones os's
closure.  It wouldn't contain all graphical stuff either, but I think
there's also some trouble with grafts that forces users to still
download substitutes.

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

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

end of thread, other threads:[~2024-02-10 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20231219200317.Horde.NxE86qlxkYVV15fTcDOD9OV@www.vfemail.net>
     [not found] ` <87h6k1vej7.fsf@gmail.com>
     [not found]   ` <875xz2byuo.fsf@xelera.eu>
2024-02-06 10:58     ` bug#43049: guix installation why internet connection required? Josselin Poiret via Bug reports for GNU Guix
2024-02-07  9:47       ` bug#43049: Add the ability to install Guix System offline Giovanni Biscuolo
2024-02-10 10:13         ` Josselin Poiret via Bug reports for GNU Guix

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).