unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Access custom images inside disk image
@ 2020-05-19 13:55 Reza Alizadeh Majd
  2020-05-21  5:30 ` Reza Alizadeh Majd
  2020-05-26 20:42 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Reza Alizadeh Majd @ 2020-05-19 13:55 UTC (permalink / raw)
  To: help-guix mailing list

Hello, 

I built a modified version of Guix to have a series of custom Channels
by default. using this modified version, everything is OK, and I have
access to these custom channels by default.

The problem is that when I create a disk image using this custom build
of Guix, only default Guix channel  details is available during build, 
and I need to perform a `guix pull` to make the profile cache updated 
and install packages located in custom channels.

is there any way that allow me to have these custom channels available
by default in disk image?

I had seen that `gc-root-service-type` is responsible for preparing the
profile for disk image, but I don't know how can I configure it to have
additional data during disk image creation.

--
Reza Alizadeh Majd
PantherX Team
https://pantherx.org


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

* Re: Access custom images inside disk image
  2020-05-19 13:55 Access custom images inside disk image Reza Alizadeh Majd
@ 2020-05-21  5:30 ` Reza Alizadeh Majd
  2020-05-26 20:42 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Reza Alizadeh Majd @ 2020-05-21  5:30 UTC (permalink / raw)
  To: help-guix mailing list

Just as a ping, does any one has any experience about embedding custom
channel stuff (packages, services) by default inside installation disk
image? 

regards, 


On Tue, 19 May 2020 18:25:47 +0430
"Reza Alizadeh Majd" <r.majd@pantherx.org> wrote:

> Hello, 
> 
> I built a modified version of Guix to have a series of custom Channels
> by default. using this modified version, everything is OK, and I have
> access to these custom channels by default.
> 
> The problem is that when I create a disk image using this custom build
> of Guix, only default Guix channel  details is available during
> build, and I need to perform a `guix pull` to make the profile cache
> updated and install packages located in custom channels.
> 
> is there any way that allow me to have these custom channels available
> by default in disk image?
> 
> I had seen that `gc-root-service-type` is responsible for preparing
> the profile for disk image, but I don't know how can I configure it
> to have additional data during disk image creation.
> 
> --
> Reza Alizadeh Majd
> PantherX Team
> https://pantherx.org
> 



-- 
Reza Alizadeh Majd
PantherX Team
https://www.pantherx.org/


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

* Re: Access custom images inside disk image
  2020-05-19 13:55 Access custom images inside disk image Reza Alizadeh Majd
  2020-05-21  5:30 ` Reza Alizadeh Majd
@ 2020-05-26 20:42 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-05-26 20:42 UTC (permalink / raw)
  To: Reza Alizadeh Majd; +Cc: help-guix mailing list

Hello,

"Reza Alizadeh Majd" <r.majd@pantherx.org> skribis:

> I built a modified version of Guix to have a series of custom Channels
> by default. using this modified version, everything is OK, and I have
> access to these custom channels by default.
>
> The problem is that when I create a disk image using this custom build
> of Guix, only default Guix channel  details is available during build, 
> and I need to perform a `guix pull` to make the profile cache updated 
> and install packages located in custom channels.
>
> is there any way that allow me to have these custom channels available
> by default in disk image?

To be clear, you don’t just want a predefined /etc/guix/channels.scm,
you want the actually channel bits as returned by ‘guix pull’, right?

This is currently not easy to do out of the box, but here’s a couple of
tricks to more or less do that:

  https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/tree/website/.guix.scm#n42
  https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/ci.scm#n265

The 2nd one in particular would allow you to treat a “pulled Guix” as a
package.

HTH!

Ludo’.


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

end of thread, other threads:[~2020-05-26 20:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 13:55 Access custom images inside disk image Reza Alizadeh Majd
2020-05-21  5:30 ` Reza Alizadeh Majd
2020-05-26 20:42 ` Ludovic Courtès

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