forked from mirrors/nixpkgs
nixos/install-grub: Always copy kernels for different devices
This commit is contained in:
parent
4eff4afa3c
commit
61908bdd80
|
@ -166,11 +166,6 @@ sub GrubFs {
|
|||
my $grubBoot = GrubFs("/boot");
|
||||
my $grubStore = GrubFs("/nix/store");
|
||||
|
||||
# We don't need to copy if we can read the kernels directly
|
||||
if ($grubStore->search ne "") {
|
||||
$copyKernels = 0;
|
||||
}
|
||||
|
||||
# Generate the header.
|
||||
my $conf .= "# Automatically generated. DO NOT EDIT THIS FILE!\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue