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

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

2016-09-14 Thread Carlos Sánchez de La Lama
Rebasing to current master (76f31f0b), as new file-append made merge non-trivial. * guix/scripts/system.scm (previous-grub-entries): resolve initrd symlink for old entries (on the host). * gnu/system.scm (operating-system-grub.cfg): resolve initrd symlink for current system (on the container).

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

2016-09-13 Thread Carlos Sánchez de La Lama
I had sent it to the wrong bug#, sorry about the noise. Took a while to produce a working patch :S A little explanation of what it does: guix/scripts/system.scm: when constructing old entries, we know "systems" are the system symlinks in /var/guix/profile, and not a store derivation. No need for

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

2016-09-13 Thread Carlos Sánchez de La Lama
Took a while to produce a working patch :S A little explanation of what it does: guix/scripts/system.scm: when constructing old entries, we know "systems" are the system symlinks in /var/guix/profile, and not a store derivation. No need for gexps then, which is good as resolving the symlink using

bug#24344: Store on separate partition

2016-08-31 Thread Carlos Sánchez de La Lama
>>> I am trying to move the store to a separate partition, but this is >>> problematic as you need the store at boot time for the system >>> utilities (and to mount partitions, actually). >>> >> I tried to do it recently but failed. My understanding is that it's >> impossible, but I may be wrong.