guix-devel/guix/scripts
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
..
container scripts: container: Fix 'exec' command line parsing. 2015-11-03 18:05:43 -05:00
import ui: Do not shadow '_' where it's used as a literal syntax match. 2016-09-20 23:22:42 +09:00
archive.scm guix scripts: Disable grafting on dry runs. 2016-08-28 16:22:19 +02:00
authenticate.scm
build.scm ui: Do not shadow '_' where it's used as a literal syntax match. 2016-09-20 23:22:42 +09:00
challenge.scm challenge: Disable grafting. 2016-07-14 19:07:07 +02:00
container.scm scripts: Add 'container' subcommand. 2015-11-01 18:20:04 -05:00
download.scm guix download: Honor the number of columns of the terminal. 2016-04-15 00:32:18 +02:00
edit.scm edit: Do not honor 'GUIX_BUILD_OPTIONS'. 2016-08-19 17:34:37 +02:00
environment.scm guix scripts: Disable grafting on dry runs. 2016-08-28 16:22:19 +02:00
gc.scm guix gc: Display of saved space for garbage collection. 2016-07-16 14:41:39 +02:00
graph.scm graph: Allow store file names for 'derivation' and 'references' graphs. 2016-05-21 01:35:14 +02:00
hash.scm ui: Do not shadow '_' where it's used as a literal syntax match. 2016-09-20 23:22:42 +09:00
import.scm import: Gracefully report import failures. 2016-05-17 14:02:48 +02:00
lint.scm guix: lint: Check descriptions for trademark signs. 2016-08-28 23:24:18 -05:00
offload.scm ui: Do not shadow '_' where it's used as a literal syntax match. 2016-09-20 23:22:42 +09:00
package.scm packages: Add 'package-superseded' and associated support. 2016-09-06 23:22:10 +02:00
publish.scm publish: Do not compress already-compressed files. 2016-08-01 17:58:56 +02:00
pull.scm utils: Add 'switch-symlinks', moved from (guix ui). 2015-10-27 00:01:20 +01:00
refresh.scm ui: Do not shadow '_' where it's used as a literal syntax match. 2016-09-20 23:22:42 +09:00
size.scm size: Fix corner case with multiple items on the command line. 2016-07-29 22:32:04 +02:00
substitute.scm ui: Do not shadow '_' where it's used as a literal syntax match. 2016-09-20 23:22:42 +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