Hello, Mathieu Othacehe <m.othac...@gmail.com> skribis:
>>> This could be done by adding a cli argument for reconfigure or allowing >>> an empty string in (grub-configuration (target "")). >>> >>> WDYT? >>> > > An already available option would be to override the grub-installer like > this : > > (define no-op-installer > #~(lambda (bootloader device mount) > (display "no op"))) > > (bootloader (bootloader > (inherit grub-bootloader) > (installer no-op-installer)) We could even define and document it as ‘no-bootloader’ or something like that. > I admit this is not ideal, so I would propose two options : > > * Allow for target field to be #f and do not call the installer when > this happends. Sounds reasonable. > * Precise the --no-bootloader parameter of guix system to deal with > multiple cases, for example : > > --bootloader=[default|no-config-file|no-install|...] > > WDYT ? What would it do in the ‘no-config-file’ case? Run ‘grub-install’ (or similar) without regenerating ‘grub.cfg’? Does that make sense? Thanks, Ludo’.