guix/gnu
Carlos Sánchez de La Lama 0f65f54ebd
system: grub.cfg uses correct file names when store is not in root partition.
Fixes <http://bugs.gnu.org/24346>.
Reported by csanchezdll@gmail.com (Carlos Sánchez de La Lama).

* guix/scripts/system.scm (previous-grub-entries): Get the initrd file
name from PARAMS.
* gnu/system.scm (operating-system-grub.cfg): Use
'operating-system-initrd-file' to retrieve the initrd file name.
* gnu/system/grub.scm (strip-mount-point): New procedure.
(grub-configuration-file)[entry->gexp]: Call 'strip-mount-point' for
LINUX and INITRD.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-09-24 17:48:13 +09:00
..
build activation: Don't fail if /var/lib exists. 2016-09-06 14:41:48 -04:00
packages gnu: Add gforth. 2016-09-24 14:07:12 +08:00
services services: console-font: A single service handles all the VTs. 2016-09-19 23:36:17 +09:00
system system: grub.cfg uses correct file names when store is not in root partition. 2016-09-24 17:48:13 +09:00
tests services: syslog: Use syslog-configuration. 2016-09-06 17:48:59 +02:00
artwork.scm
local.mk gnu: Add gforth. 2016-09-24 14:07:12 +08:00
packages.scm ui: Do not shadow '_' where it's used as a literal syntax match. 2016-09-20 23:22:42 +09:00
services.scm services: Use 'source-module-closure' for (gnu build activation). 2016-09-20 22:42:11 +09:00
system.scm system: grub.cfg uses correct file names when store is not in root partition. 2016-09-24 17:48:13 +09:00
tests.scm