Browse Source

system: Remove circular dependency between (gnu system) and (gnu system grub).

Followup to 087efec496.

* gnu/system.scm: (operating-system-bootcfg): Refer to (gnu system grub)
by module-ref.
version-0.13.0
Danny Milosavljevic 5 years ago
parent
commit
f000828575
No known key found for this signature in database GPG Key ID: E71A35542C30BAA5
  1. 8
      gnu/system.scm

8
gnu/system.scm

@ -847,9 +847,11 @@ populate the \"old entries\" menu."
(uuid->string (file-system-device root-fs))
(file-system-device root-fs)))
(entry (operating-system-boot-parameters os system root-device)))
((@@ (gnu system grub) grub-configuration-file) (operating-system-bootloader os)
(list entry)
#:old-entries old-entries)))
((module-ref (resolve-interface '(gnu system grub))
'grub-configuration-file)
(operating-system-bootloader os)
(list entry)
#:old-entries old-entries)))
(define (fs->boot-device fs)
"Given FS, a <file-system> object, return a value suitable for use as the

Loading…
Cancel
Save