diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-01-03 12:16:52 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-01-03 16:06:26 +0100 |
commit | 9512ba6b09b55c1551933c1885aa1ca39457aea8 (patch) | |
tree | 10cb2355e9620ec8063ed0256758a427c6b722ba /gnu/bootloader/grub.scm | |
parent | 10a8fb475b739d7046b7c2e3a81788aa9c652f80 (diff) |
bootloader: Mark "grub.cfg" and "extlinux.conf" as non-substitutable.
Suggested by <pkill9@runbox.com>.
* gnu/bootloader/grub.scm (grub-configuration-file): Pass #:options to
'computed-file'.
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Likewise.
Diffstat (limited to 'gnu/bootloader/grub.scm')
-rw-r--r-- | gnu/bootloader/grub.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index fd62f627a0..adcdbdbab0 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> @@ -392,7 +392,11 @@ if [ \"${grub_platform}\" == efi ]; then } fi~%")))) - (computed-file "grub.cfg" builder)) + ;; Since this file is rather unique, there's no point in trying to + ;; substitute it. + (computed-file "grub.cfg" builder + #:options '(#:local-build? #t + #:substitutable? #f))) |