[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26339: [PATCH 04/18] bootloader: Add install procedures and use them
From: |
Danny Milosavljevic |
Subject: |
bug#26339: [PATCH 04/18] bootloader: Add install procedures and use them. |
Date: |
Sat, 15 Apr 2017 18:22:22 +0200 |
> + (symlink bootcfg (string-append directory "/bootcfg"))))
^^^^^^^
Is that safe? Will there only be one bootloader configuration at all times?
What if the user uses multiple "guix system"s on the same machine?
> + (install-boot-config bootcfg bootcfg-location target)
> + (when install-bootloader
> + (install-bootloader bootloader device target))
I think it's very good to finally seperate installation of the bootloader
configuration and installation of the bootloader. On some architectures (for
example ARM) it's very uncommon to replace the bootloader - and if you do it
too often it would wear out the flash storage prematurely.
>[exports]
> + dd
Errrr... was that exported on purpose? Sounds very implementation-detaily to me.
> + #:install-bootloader
Rather #:bootloader-installer or #:bootloader-installation ? Or leave it as
is, doesn't matter much, I guess. I think a non-substantive for this is
strange.
> +
> #$(bootloader-configuration-install-procedure
If it's not installing a procedure it should be
bootloader-configuration-installation-procedure or
bootloader-configuration-installer, I think.
Otherwise LGTM!
- bug#26339: [PATCH 12/18] system: Rename grub-device to fs->boot-device., (continued)
- bug#26339: [PATCH 12/18] system: Rename grub-device to fs->boot-device., Mathieu Othacehe, 2017/04/02
- bug#26339: [PATCH 08/18] bootloader: Stop using grub module., Mathieu Othacehe, 2017/04/02
- bug#26339: [PATCH 06/18] vm: Reword grub.cfg to boot.cfg, Mathieu Othacehe, 2017/04/02
- bug#26339: [PATCH 10/18] system: Rename kernel->grub-label to kernel->boot-label., Mathieu Othacehe, 2017/04/02
- bug#26339: [PATCH 04/18] bootloader: Add install procedures and use them., Mathieu Othacehe, 2017/04/02
bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Mathieu Othacehe, 2017/04/02
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Danny Milosavljevic, 2017/04/15
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Mathieu Othacehe, 2017/04/15
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Danny Milosavljevic, 2017/04/15
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Mathieu Othacehe, 2017/04/15
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Danny Milosavljevic, 2017/04/15