1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/modules/system/activation
Eelco Dolstra f07f221f0e Replace grub-menu-builder with a much faster version
The old GRUB menu builder script is quite slow, typically taking
several seconds.  This is a real annoyance since it's run every time
you switch to a new configuration.  Therefore this patch replaces the
Bash script with a much faster Perl script.  In a VirtualBox test, the
execution time went from 2.7s to 0.1s.  The Perl version is also more
correct because it uses XML to get the GRUB configuration (through
builtins.toXML), so there are no shell escaping issues.

The new script currently lacks support for subconfigurations defined
through "nesting.children".
2012-07-24 19:16:27 -04:00
..
activation-script.nix Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
no-clone.nix better workaround for building nested child configurations 2012-05-18 06:17:08 +00:00
switch-to-configuration.sh Replace grub-menu-builder with a much faster version 2012-07-24 19:16:27 -04:00
top-level.nix * Allow building with boot.loader.grub.enable set to "false". 2012-05-23 15:52:29 +00:00