bug#24346: [PATCH] Generate grub.cfg with correct paths when store is not in root partition

2016-09-26 Thread Ludovic Courtès
csanchez...@gmail.com (Carlos Sánchez de La Lama) skribis:

>> I ended up pushing a slightly modified version of this patch as
>> 0f65f54ebd76324653fd5506a7dab42ee44d9255.
>
> Great! Your version looks definitely better :-)
>
>> I verified the grub.cfg that ‘guix system reconfigure’ generates and it
>> seems to work fine.  If you can confirm that it still works for you,
>> please say so to 24346-d...@debbugs.gnu.org.  :-)
>
> Works on my system which has store on a separate partition. I have
> checked grub module and image gets correctly found as well as kernel and
> initrd.

Great!

Ludo’.





bug#24496: offloading should fall back to local build after n tries

2016-09-26 Thread Ludovic Courtès
Hello!

ng0  skribis:

> When I forgot that my build machine is offline and I did not pass
> --no-build-hook, the offloading keeps trying forever until I had to
> cancel the build, boot the build-machine and started the build again.
>
> A solution could be a config option or default behavior which after
> failing to offload for n times gives up and uses the local builder.
>
> Is this desired at all? Setups like hydra could get problems, but for
> small setups with the same architecture there could be a solution beyond
> --no-build-hook?

Like you say, on Hydra-style setup this could be a problem: the
front-end machine may have --max-jobs=0, meaning that it cannot perform
builds on its own.

So I guess we would need a command-line option to select a different
behavior.  I’m not sure how to do that because ‘guix offload’ is
“hidden” behind ‘guix-daemon’, so there’s no obvious place for such an
option.

In the meantime, you could also hack up your machines.scm: it would
return a list where unreachable machines have been filtered out.

Ludo’.





bug#24346: [PATCH] Generate grub.cfg with correct paths when store is not in root partition

2016-09-26 Thread Carlos Sánchez de La Lama
Hi Ludo,

> I ended up pushing a slightly modified version of this patch as
> 0f65f54ebd76324653fd5506a7dab42ee44d9255.

Great! Your version looks definitely better :-)

> I verified the grub.cfg that ‘guix system reconfigure’ generates and it
> seems to work fine.  If you can confirm that it still works for you,
> please say so to 24346-d...@debbugs.gnu.org.  :-)

Works on my system which has store on a separate partition. I have
checked grub module and image gets correctly found as well as kernel and
initrd.

Thanks!

Carlos