Skip to content
Snippets Groups Projects
  • Ludovic Courtès's avatar
    6b779207
    system: grub: Search root device by label or UUID if possible. · 6b779207
    Ludovic Courtès authored
    Fixes <http://bugs.gnu.org/22281>.
    Reported by Christopher Allan Webber <cwebber@dustycloud.org>.
    
    * gnu/system/grub.scm (eye-candy): Add 'root-fs' parameter.  Replace
    'search --file' command in the output with whatever 'grub-root-search'
    returns.
    (grub-root-search): New procedure.
    (grub-configuration-file): Add 'store-fs' parameter.  Use
    'grub-root-search' instead of hard-coded 'search --file' commands.
    * gnu/system.scm (store-file-system,
    operating-system-store-file-system): New procedures.
    (operating-system-grub.cfg): Use it, and adjust call to
    'grub-configuration-file'.
    * tests/system.scm: New file.
    * Makefile.am (SCM_TESTS): Add it.
    6b779207
    History
    system: grub: Search root device by label or UUID if possible.
    Ludovic Courtès authored
    Fixes <http://bugs.gnu.org/22281>.
    Reported by Christopher Allan Webber <cwebber@dustycloud.org>.
    
    * gnu/system/grub.scm (eye-candy): Add 'root-fs' parameter.  Replace
    'search --file' command in the output with whatever 'grub-root-search'
    returns.
    (grub-root-search): New procedure.
    (grub-configuration-file): Add 'store-fs' parameter.  Use
    'grub-root-search' instead of hard-coded 'search --file' commands.
    * gnu/system.scm (store-file-system,
    operating-system-store-file-system): New procedures.
    (operating-system-grub.cfg): Use it, and adjust call to
    'grub-configuration-file'.
    * tests/system.scm: New file.
    * Makefile.am (SCM_TESTS): Add it.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.