mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
10a8fb475b
commit
9512ba6b09
2 changed files with 9 additions and 3 deletions
|
@ -74,7 +74,9 @@ (define builder
|
|||
(format port "~%"))
|
||||
#~())))))
|
||||
|
||||
(computed-file "extlinux.conf" builder))
|
||||
(computed-file "extlinux.conf" builder
|
||||
#:options '(#:local-build? #t
|
||||
#:substitutable? #f)))
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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 @@ (define builder
|
|||
}
|
||||
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)))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue